MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / cleanup

Function cleanup

libcaf_net/caf/net/ssl/startup.cpp:70–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void cleanup() {
71#if OPENSSL_VERSION_NUMBER < 0x10100000L
72 CRYPTO_set_locking_callback(nullptr);
73 CRYPTO_set_dynlock_create_callback(nullptr);
74 CRYPTO_set_dynlock_lock_callback(nullptr);
75 CRYPTO_set_dynlock_destroy_callback(nullptr);
76 mutexes.clear();
77#else
78 ERR_free_strings();
79 EVP_cleanup();
80 CRYPTO_cleanup_all_ex_data();
81#endif
82}
83
84} // namespace caf::net::ssl

Callers 4

quitMethod · 0.50
startMethod · 0.50
handle_errorMethod · 0.50
init_host_systemMethod · 0.50

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected