From 859754bdeb41373d372e36b5dc89c547453addb3 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 23 Oct 2018 17:10:41 +1100 Subject: remove remaining references to SSLeay Prompted by Rosen Penev --- configure.ac | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7379ab358..0d55bece5 100644 --- a/configure.ac +++ b/configure.ac @@ -2602,8 +2602,9 @@ if test "x$openssl" = "xyes" ; then if(fd == NULL) exit(1); - if ((rc = fprintf(fd, "%08lx (%s)\n", (unsigned long)SSLeay(), - SSLeay_version(SSLEAY_VERSION))) < 0) + if ((rc = fprintf(fd, "%08lx (%s)\n", + (unsigned long)OpenSSL_version_num(), + OpenSSL_version(OPENSSL_VERSION))) < 0) exit(1); exit(0); @@ -2645,7 +2646,7 @@ if test "x$openssl" = "xyes" ; then #include #include ]], [[ - exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); + exit(OpenSSL_version_num() == OPENSSL_VERSION_NUMBER ? 0 : 1); ]])], [ AC_MSG_RESULT([yes]) @@ -2673,7 +2674,7 @@ if test "x$openssl" = "xyes" ; then AC_MSG_CHECKING([if programs using OpenSSL functions will link]) AC_LINK_IFELSE( [AC_LANG_PROGRAM([[ #include ]], - [[ SSLeay_add_all_algorithms(); ]])], + [[ OpenSSL_add_all_algorithms(); ]])], [ AC_MSG_RESULT([yes]) ], @@ -2684,7 +2685,7 @@ if test "x$openssl" = "xyes" ; then AC_MSG_CHECKING([if programs using OpenSSL need -ldl]) AC_LINK_IFELSE( [AC_LANG_PROGRAM([[ #include ]], - [[ SSLeay_add_all_algorithms(); ]])], + [[ OpenSSL_add_all_algorithms(); ]])], [ AC_MSG_RESULT([yes]) ], -- cgit v1.2.3