diff --git a/m4/openssl.m4 b/m4/openssl.m4 index 6e08ebe5..0db50978 100644 --- a/m4/openssl.m4 +++ b/m4/openssl.m4 @@ -41,12 +41,12 @@ if test "$tinc_cv_openssl_include" != "none given" ; then fi osi=found -AC_CHECK_HEADERS(evp.h rsa.h rand.h err.h, +AC_CHECK_HEADERS(evp.h rsa.h rand.h err.h sha.h, [], [osi=none; break]) if test "$osi" = "none" ; then osi=found - AC_CHECK_HEADERS(openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h, + AC_CHECK_HEADERS(openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h, [], [osi=none; break]) fi