From de91bde800356130508415a3e2669d15a3b66e2a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 1 Jul 2009 23:46:36 +0000 Subject: [PATCH] ITS#6192 add all digests. Also stop using SSLeay-compatible function names, we're only concerned with OpenSSL these days. --- libraries/libldap/tls_o.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libraries/libldap/tls_o.c b/libraries/libldap/tls_o.c index fc49529f92..0687465fad 100644 --- a/libraries/libldap/tls_o.c +++ b/libraries/libldap/tls_o.c @@ -1,4 +1,4 @@ -/* tls_o.c - Handle tls/ssl using SSLeay or OpenSSL */ +/* tls_o.c - Handle tls/ssl using OpenSSL */ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * @@ -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(); -- 2.39.5