From: Dave Hart Date: Wed, 15 Dec 2010 01:23:25 +0000 (+0000) Subject: get along better with OpenSSL 1.0.0c headers by including X-Git-Tag: NTP_4_2_7P94~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=901a8ae320f7ae4fd2854d8efac87012055be215;p=thirdparty%2Fntp.git get along better with OpenSSL 1.0.0c headers by including evp.h instead of rand.h in ssl_init.c and configure.ac tests. bk: 4d08188du8vf0MOT6e5nALbyEKTReQ --- diff --git a/libntp/ssl_init.c b/libntp/ssl_init.c index 1873ea43d..9e11e5f2c 100644 --- a/libntp/ssl_init.c +++ b/libntp/ssl_init.c @@ -14,7 +14,7 @@ #ifdef OPENSSL #include "openssl/err.h" -#include "openssl/rand.h" +#include "openssl/evp.h" int ssl_init_done; diff --git a/m4/ntp_openssl.m4 b/m4/ntp_openssl.m4 index f80ac584d..507428ad8 100644 --- a/m4/ntp_openssl.m4 +++ b/m4/ntp_openssl.m4 @@ -168,7 +168,7 @@ case "$ntp_openssl" in [AC_LANG_PROGRAM( [[ #include "openssl/err.h" - #include "openssl/rand.h" + #include "openssl/evp.h" ]], [[ ERR_load_crypto_strings(); @@ -189,7 +189,7 @@ case "$ntp_openssl" in [AC_LANG_PROGRAM( [[ #include "openssl/err.h" - #include "openssl/rand.h" + #include "openssl/evp.h" ]], [[ ERR_load_crypto_strings();