Skip to content
Snippets Groups Projects
Commit 39901cb3 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#4723 add CRYPTO_set_id_callback

parent d2e40512
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,10 @@ static void tls_init_threads( void )
ldap_pvt_thread_mutex_init( &tls_mutexes[i] );
}
CRYPTO_set_locking_callback( tls_locking_cb );
/* FIXME: the thread id should be added somehow... */
CRYPTO_set_id_callback( ldap_pvt_thread_self );
/* FIXME: CRYPTO_set_id_callback only works when ldap_pvt_thread_t
* is an integral type that fits in an unsigned long
*/
ldap_pvt_thread_mutex_init( &tls_def_ctx_mutex );
ldap_pvt_thread_mutex_init( &tls_connect_mutex );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment