diff --git a/configure.in b/configure.in index 5e58057be3b2..f61bbff2ec13 100644 --- a/configure.in +++ b/configure.in @@ -227,7 +227,7 @@ if test "$enable_openssl" = "yes"; then [AC_MSG_RESULT([no])]) if test "x$PKG_CONFIG" != "x"; then - PKG_CHECK_MODULES([crypto], [libcrypto > 1.0.1], + PKG_CHECK_MODULES([crypto], [libcrypto >= 1.0.1], [CFLAGS="$CFLAGS $crypto_CFLAGS" LIBS="$crypto_LIBS $LIBS"]) else @@ -236,11 +236,11 @@ if test "$enable_openssl" = "yes"; then fi AC_SEARCH_LIBS([EVP_EncryptInit], [crypto], - [], [AC_MSG_FAILURE([can't find openssl >1.0.1 crypto lib])]) + [], [AC_MSG_FAILURE([can't find openssl >= 1.0.1 crypto lib])]) AC_SEARCH_LIBS([EVP_aes_128_ctr], [crypto], - [], [AC_MSG_FAILURE([can't find openssl >1.0.1 crypto lib])]) + [], [AC_MSG_FAILURE([can't find openssl >= 1.0.1 crypto lib])]) AC_SEARCH_LIBS([EVP_aes_128_gcm], [crypto], - [], [AC_MSG_FAILURE([can't find openssl >1.0.1 crypto lib])]) + [], [AC_MSG_FAILURE([can't find openssl >= 1.0.1 crypto lib])]) AC_DEFINE([OPENSSL], [1], [Define this to use OpenSSL crypto.]) AES_ICM_OBJS="crypto/cipher/aes_icm_ossl.o crypto/cipher/aes_gcm_ossl.o"