aboutsummaryrefslogtreecommitdiffstats
path: root/community/bitchx/openssl-1.1.patch
blob: d30e5a35b84c4f105e2bf1aa12552a1c41761599 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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