X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=m4%2Fopenssl.m4;h=adca5f7a5bdef845cb14980f0c75429cc04322fb;hp=4cf26f47bb74920caf42faf8988e388501791f17;hb=8bf4c160d69d980f818ca05ba482b2ffa8230632;hpb=848effe2644b0b734c5096a34021be1a3963302f diff --git a/m4/openssl.m4 b/m4/openssl.m4 index 4cf26f47..adca5f7a 100644 --- a/m4/openssl.m4 +++ b/m4/openssl.m4 @@ -45,11 +45,11 @@ AC_DEFUN([tinc_OPENSSL], [AC_MSG_ERROR([LibreSSL/OpenSSL libraries not found.])] ) - AC_CHECK_FUNCS([RAND_bytes EVP_EncryptInit_ex EVP_CIPHER_CTX_new EVP_aes_256_ctr], , + AC_CHECK_FUNCS([RAND_bytes EVP_EncryptInit_ex EVP_CIPHER_CTX_new], , [AC_MSG_ERROR([Missing LibreSSL/OpenSSL functionality, make sure you have installed the latest version.]); break], ) - AC_CHECK_DECL([OpenSSL_add_all_algorithms], , + AC_CHECK_DECLS([OpenSSL_add_all_algorithms, EVP_aes_256_cfb], , [AC_MSG_ERROR([Missing LibreSSL/OpenSSL functionality, make sure you have installed the latest version.]); break], [#include ] )