mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#8353, ITS#8533 - Cleanup for libldap_r
This commit is contained in:
parent
6ced84af79
commit
eb8f1a7247
@ -107,6 +107,10 @@ static void tlso_thr_init( void )
|
||||
CRYPTO_set_id_callback( tlso_thread_self );
|
||||
}
|
||||
#endif /* LDAP_R_COMPILE */
|
||||
#else
|
||||
#ifdef LDAP_R_COMPILE
|
||||
static void tlso_thr_init( void ) {}
|
||||
#endif
|
||||
#endif /* OpenSSL 1.1 */
|
||||
|
||||
static STACK_OF(X509_NAME) *
|
||||
@ -1317,7 +1321,7 @@ tls_impl ldap_int_tls_impl = {
|
||||
|
||||
&tlso_sbio,
|
||||
|
||||
#if defined(LDAP_R_COMPILE) && OPENSSL_VERSION_NUMBER < 0x10100000
|
||||
#ifdef LDAP_R_COMPILE
|
||||
tlso_thr_init,
|
||||
#else
|
||||
NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user