]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
get along better with OpenSSL 1.0.0c headers by including
authorDave Hart <hart@ntp.org>
Wed, 15 Dec 2010 01:23:25 +0000 (01:23 +0000)
committerDave Hart <hart@ntp.org>
Wed, 15 Dec 2010 01:23:25 +0000 (01:23 +0000)
evp.h instead of rand.h in ssl_init.c and configure.ac tests.

bk: 4d08188du8vf0MOT6e5nALbyEKTReQ

libntp/ssl_init.c
m4/ntp_openssl.m4

index 1873ea43dda9ed3f2963f1e713dadcd079a3aa81..9e11e5f2cc61766bbc0b508b5cfe892b6b01503c 100644 (file)
@@ -14,7 +14,7 @@
 
 #ifdef OPENSSL
 #include "openssl/err.h"
-#include "openssl/rand.h"
+#include "openssl/evp.h"
 
 
 int ssl_init_done;
index f80ac584db13eceec9e912c2c76bd0faf0a2a657..507428ad805b65f11f022eed0097b8694f871ae2 100644 (file)
@@ -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();