X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=m4%2Fopenssl.m4;fp=m4%2Fopenssl.m4;h=79dd3c118c84e85469c3c3164bd2049e6be1044e;hp=40ad4fd0d220936837e204fc11bf6cdd15308037;hb=1783a3aaa9b692ab64260a9c2adf588ed6083a1c;hpb=c08858baa91a00e38c0f5482dbb0817dbd0361f1 diff --git a/m4/openssl.m4 b/m4/openssl.m4 index 40ad4fd0..79dd3c11 100644 --- a/m4/openssl.m4 +++ b/m4/openssl.m4 @@ -29,15 +29,7 @@ AC_DEFUN(tinc_OPENSSL, [AC_MSG_ERROR([OpenSSL libraries not found.])] ) - AC_CHECK_FUNCS(RAND_pseudo_bytes) - - AC_CHECK_FUNC(OpenSSL_add_all_algorithms, - [], - [AC_CHECK_FUNC(SSLeay_add_all_algorithms, - [AC_DEFINE(HAVE_SSLEAY_ADD_ALL_ALGORITHMS, 1, [Defined if this function should be used instead of OpenSLL_add_all_algorithms])], - [AC_MSG_ERROR([Missing required OpenSSL functionality!])] - )] - ) + AC_CHECK_FUNCS([RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms]) AC_CHECK_FUNC(dlopen, [],