Reverted back to older OpenSSL functions for compatibility support.
This commit is contained in:
@ -263,15 +263,6 @@ static void ssl_free_dynlock(struct CRYPTO_dynlock_value * n,const char* file, i
|
|||||||
free(n);
|
free(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* The thread ID callback function for OpenSSL dynamic locks.
|
|
||||||
* @param id Id to modify
|
|
||||||
*/
|
|
||||||
static void maxscale_ssl_id(CRYPTO_THREADID* id)
|
|
||||||
{
|
|
||||||
CRYPTO_THREADID_set_numeric(id,pthread_self());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handler for SIGHUP signal. Reload the configuration for the
|
* Handler for SIGHUP signal. Reload the configuration for the
|
||||||
* gateway.
|
* gateway.
|
||||||
@ -1468,7 +1459,7 @@ int main(int argc, char **argv)
|
|||||||
CRYPTO_set_dynlock_create_callback(ssl_create_dynlock);
|
CRYPTO_set_dynlock_create_callback(ssl_create_dynlock);
|
||||||
CRYPTO_set_dynlock_destroy_callback(ssl_free_dynlock);
|
CRYPTO_set_dynlock_destroy_callback(ssl_free_dynlock);
|
||||||
CRYPTO_set_dynlock_lock_callback(ssl_lock_dynlock);
|
CRYPTO_set_dynlock_lock_callback(ssl_lock_dynlock);
|
||||||
CRYPTO_THREADID_set_callback(maxscale_ssl_id);
|
CRYPTO_set_id_callback(pthread_self);
|
||||||
|
|
||||||
/* register exit function for embedded MySQL library */
|
/* register exit function for embedded MySQL library */
|
||||||
l = atexit(libmysqld_done);
|
l = atexit(libmysqld_done);
|
||||||
|
Reference in New Issue
Block a user