about summary refs log tree commit diff
path: root/configure.ng
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ng')
-rw-r--r--configure.ng4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ng b/configure.ng
index 34094a48..56139968 100644
--- a/configure.ng
+++ b/configure.ng
@@ -418,8 +418,8 @@ AC_ARG_WITH(openssl,
 				LDFLAGS="-L$withval/lib $LDFLAGS"
 			fi
 			AC_CHECK_LIB(crypto, BIO_s_mem)
-			AC_CHECK_LIB(ssl, SSL_library_init)
-			AC_CHECK_FUNCS(SSL_library_init, x_ssl_openssl=yes,
+			AC_CHECK_LIB(ssl, SSL_new)
+			AC_CHECK_FUNCS(SSL_new, x_ssl_openssl=yes,
 				AC_MSG_ERROR([Can't enable openssl])
 			)
 		fi