Skip to content

Commit

Permalink
fixed OpenSSL 1.1 check to fail with OpenSSL 1.0
Browse files Browse the repository at this point in the history
closes develar#1
  • Loading branch information
mtrojnar committed Dec 8, 2018
1 parent c9396c4 commit a7c624d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ PKG_CHECK_MODULES(
,
[AC_CHECK_LIB(
[crypto],
[RSA_verify],
[EVP_MD_CTX_new],
[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}]
)]
)]
Expand Down

0 comments on commit a7c624d

Please sign in to comment.