From: Quanah Gibson-Mount Date: Thu, 2 Jul 2009 01:04:49 +0000 (+0000) Subject: ITS#6192 X-Git-Tag: OPENLDAP_REL_ENG_2_4_17~15 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=39ddec3a9cfa04f7f466a7ebbd8569e498a63a64;p=openldap ITS#6192 --- diff --git a/CHANGES b/CHANGES index a9852b504d..72e3f71f19 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,7 @@ OpenLDAP 2.4 Change Log OpenLDAP 2.4.17 Engineering Fixed liblber to use ber_strnlen (ITS#6080) Fixed libldap gnutls private key init (ITS#6053) + Fixed libldap openssl digest initialization (ITS#6192) Fixed libldap tls NULL error messages (ITS#6079) Fixed liblutil opendir/closedir on windows (ITS#6041) Fixed liblutil for _GNU_SOURCE (ITS#5464,ITS#5666) diff --git a/libraries/libldap/tls_o.c b/libraries/libldap/tls_o.c index fc49529f92..a5855b4a16 100644 --- a/libraries/libldap/tls_o.c +++ b/libraries/libldap/tls_o.c @@ -77,7 +77,7 @@ static int tlso_seed_PRNG( const char *randfile ); #ifdef LDAP_R_COMPILE /* - * provide mutexes for the SSLeay library. + * provide mutexes for the OpenSSL library. */ static ldap_pvt_thread_mutex_t tlso_mutexes[CRYPTO_NUM_LOCKS]; static ldap_pvt_thread_mutex_t tlso_dh_mutex; @@ -162,7 +162,8 @@ tlso_init( void ) #endif SSL_load_error_strings(); - SSLeay_add_ssl_algorithms(); + SSL_library_init(); + OpenSSL_add_all_digests(); /* FIXME: mod_ssl does this */ X509V3_add_standard_extensions();