X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=m4%2Fopenssl.m4;h=6bb33cf52198bfe1a107f4fa16ff834ff298107c;hb=323c17e232539f3f06e7cebc664ab48f60127e0e;hp=26cbcbe80fb077a5f20e10af0f31f7fe0415b11a;hpb=5cbc12b3d482231fc7e71fbe176c91971993760e;p=tinc diff --git a/m4/openssl.m4 b/m4/openssl.m4 index 26cbcbe8..6bb33cf5 100644 --- a/m4/openssl.m4 +++ b/m4/openssl.m4 @@ -45,7 +45,7 @@ AC_DEFUN([tinc_OPENSSL], [AC_MSG_ERROR([LibreSSL/OpenSSL libraries not found.])] ) - AC_CHECK_FUNCS([RAND_status EVP_EncryptInit_ex], , + 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], ) @@ -53,4 +53,6 @@ AC_DEFUN([tinc_OPENSSL], [AC_MSG_ERROR([Missing LibreSSL/OpenSSL functionality, make sure you have installed the latest version.]); break], [#include ] ) + + AC_CHECK_FUNCS([BN_GENCB_new ERR_remove_state RSA_set0_key], , , [#include ]) ])