diff --git a/src/ssl.c b/src/ssl.c index 31b5210..c74be8d 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -109,7 +109,7 @@ int ssl_session_cache_index; /* This array will store all of the mutexes available to OpenSSL. */ static MUTEX_TYPE *mutex_buf= NULL; -static void ssl_thread_locking_function(int mode, int n, const char * file, int line) +void ssl_thread_locking_function(int mode, int n, const char * file, int line) { int me; @@ -124,7 +124,7 @@ static void ssl_thread_locking_function(int mode, int n, const char * file, int } } -static unsigned long ssl_thread_id_function(void) +unsigned long ssl_thread_id_function(void) { return ((unsigned long)THREAD_ID); } @@ -280,8 +280,6 @@ int ssl_init(void) { hlog(LOG_INFO, "Initializing OpenSSL, built against %s ...", OPENSSL_VERSION_TEXT); - OPENSSL_config(NULL); - SSL_library_init(); SSL_load_error_strings();