diff --git a/configure.in b/configure.in index 467395d..c27c8fe 100644 --- a/configure.in +++ b/configure.in @@ -566,8 +566,8 @@ case "$with_ssl" in esac case "$with_ssl" in yes|check) - AC_CHECK_LIB([crypto], [SSLeay], [], [], []) - if test x"$ac_cv_lib_crypto_SSLeay" = x"yes"; then + AC_CHECK_LIB([crypto], [ERR_get_error], [], [], []) + if test x"$ac_cv_lib_crypto_ERR_get_error" = x"yes"; then AC_CHECK_LIB([ssl], [SSL_accept], [], [], []) fi if test x"$ac_cv_lib_ssl_SSL_accept" = x"yes"; then