fixed OpenSSL 1.1 check to fail with OpenSSL 1.0

closes #1
This commit is contained in:
Michał Trojnara 2018-12-08 09:55:04 +01:00
parent c9396c4be9
commit a7c624d0a9

View File

@ -101,9 +101,9 @@ PKG_CHECK_MODULES(
, ,
[AC_CHECK_LIB( [AC_CHECK_LIB(
[crypto], [crypto],
[RSA_verify], [EVP_MD_CTX_new],
[OPENSSL_LIBS="-lcrypto ${SOCKETS_LIBS} ${DL_LIBS}"], [OPENSSL_LIBS="-lcrypto ${SOCKETS_LIBS} ${DL_LIBS}"],
[AC_MSG_ERROR([OpenSSL 1.1.0 or later is required. http://www.openssl.org/])], [AC_MSG_ERROR([OpenSSL 1.1.0 or later is required. https://www.openssl.org/])],
[${DL_LIBS}] [${DL_LIBS}]
)] )]
)] )]