]> git.sur5r.net Git - openldap/commitdiff
Our check for SSLeay_add_ssl_algorithms fails with modern versions of
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Tue, 13 Jul 1999 19:20:16 +0000 (19:20 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Tue, 13 Jul 1999 19:20:16 +0000 (19:20 +0000)
OpenSSL since it has been made a preprocessor macro.  Please review
this change to do the right thing w.r.t. rsaref.

configure.in

index 595c6c5138bb4ad4959539d717a01fc50d573938..ff3595598871f2aebc02e60a39560d5c9d461084 100644 (file)
@@ -687,6 +687,13 @@ if test $ol_with_tls != no ; then
                        [have_ssleay=no],
                        [-lcrypto])
                        
+               if test $have_ssleay = no ; then
+                       AC_CHECK_LIB(ssl, SSL_library_init,
+                               [have_ssleay=yes
+                               need_rsaref=no], [have_ssleay=no],
+                               [-lcrypto])
+               fi
+
                if test $have_ssleay = no ; then
                        AC_CHECK_LIB(ssl, ssl3_accept, 
                                [have_ssleay=yes