diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d90c0598..8989d724 100644 --- a/configure.ac +++ b/configure.ac @@ -682,7 +682,7 @@ if test "$WITH_OPENSSL" != no; then AC_CHECK_HEADERS([openssl/ssl.h], [], [ AC_MSG_ERROR([openssl headers not found. install them or build without --with-openssl]) ]) - AC_CHECK_LIB([crypto], [BIO_f_base64], + AC_CHECK_LIB([crypto], [RAND_bytes], [CRYPTO_LIB="-lcrypto"], [AC_MSG_ERROR([openssl crypto library not found. install it or build without --with-openssl])] ) |