mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-24 09:14:02 +08:00
Remove obsolete openssl cleanup code
This commit is contained in:
@@ -160,7 +160,6 @@ void net__cleanup(void)
|
||||
is_tls_initialized = false;
|
||||
# endif
|
||||
|
||||
CONF_modules_unload(1);
|
||||
cleanup_ui_method();
|
||||
#endif
|
||||
|
||||
@@ -182,10 +181,6 @@ void net__init_tls(void)
|
||||
SSL_load_error_strings();
|
||||
SSL_library_init();
|
||||
OpenSSL_add_all_algorithms();
|
||||
# else
|
||||
OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
|
||||
| OPENSSL_INIT_ADD_ALL_DIGESTS \
|
||||
| OPENSSL_INIT_LOAD_CONFIG, NULL);
|
||||
# endif
|
||||
#if !defined(OPENSSL_NO_ENGINE)
|
||||
ENGINE_load_builtin_engines();
|
||||
|
||||
Reference in New Issue
Block a user