mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 23:29:34 -05:00
ITS#8353, ITS#8533 - Cleanup for libldap_r
This commit is contained in:
parent
6ced84af79
commit
eb8f1a7247
1 changed files with 5 additions and 1 deletions
|
|
@ -107,6 +107,10 @@ static void tlso_thr_init( void )
|
||||||
CRYPTO_set_id_callback( tlso_thread_self );
|
CRYPTO_set_id_callback( tlso_thread_self );
|
||||||
}
|
}
|
||||||
#endif /* LDAP_R_COMPILE */
|
#endif /* LDAP_R_COMPILE */
|
||||||
|
#else
|
||||||
|
#ifdef LDAP_R_COMPILE
|
||||||
|
static void tlso_thr_init( void ) {}
|
||||||
|
#endif
|
||||||
#endif /* OpenSSL 1.1 */
|
#endif /* OpenSSL 1.1 */
|
||||||
|
|
||||||
static STACK_OF(X509_NAME) *
|
static STACK_OF(X509_NAME) *
|
||||||
|
|
@ -1317,7 +1321,7 @@ tls_impl ldap_int_tls_impl = {
|
||||||
|
|
||||||
&tlso_sbio,
|
&tlso_sbio,
|
||||||
|
|
||||||
#if defined(LDAP_R_COMPILE) && OPENSSL_VERSION_NUMBER < 0x10100000
|
#ifdef LDAP_R_COMPILE
|
||||||
tlso_thr_init,
|
tlso_thr_init,
|
||||||
#else
|
#else
|
||||||
NULL,
|
NULL,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue