X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=m4%2Fopenssl.m4;h=922e4682927058729266fafc7436467101a43178;hp=254ea4ff2424531ee06b430de374c22b1e063efe;hb=a851d8a9f6e3b69ab75695d84471ff4d525341b7;hpb=f8e15dfe8d155b5bdb1e39bf6b9af486606145e8 diff --git a/m4/openssl.m4 b/m4/openssl.m4 index 254ea4ff..922e4682 100644 --- a/m4/openssl.m4 +++ b/m4/openssl.m4 @@ -35,7 +35,7 @@ AC_DEFUN([tinc_OPENSSL], LDFLAGS="$LDFLAGS -L$withval"] ) - AC_CHECK_HEADERS(openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h openssl/engine.h, + AC_CHECK_HEADERS([openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h openssl/engine.h openssl/ecdh.h openssl/ec.h], [], [AC_MSG_ERROR([OpenSSL header files not found.]); break] ) @@ -45,7 +45,7 @@ AC_DEFUN([tinc_OPENSSL], [AC_MSG_ERROR([OpenSSL libraries not found.])] ) - AC_CHECK_FUNCS([RAND_pseudo_bytes EVP_EncryptInit_ex], , + AC_CHECK_FUNCS([RAND_pseudo_bytes EVP_EncryptInit_ex ECDH_compute_key ECDSA_verify], , [AC_MSG_ERROR([Missing OpenSSL functionality, make sure you have installed the latest version.]); break], )