[TLS] include <openssl/opensslv.h> in rand.c

include <openssl/opensslv.h> in rand.c for OPENSSL_VERSION_NUMBER

(openssl 1.1.0 deprecates RAND_pseudo_bytes())
personal/stbuehler/mod-csrf
Glenn Strauss 2017-01-20 00:19:59 -05:00
parent 546dab3205
commit 5b81201be9
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#define USE_OPENSSL_CRYPTO
#endif
#ifdef USE_OPENSSL_CRYPTO
#include <openssl/opensslv.h> /* OPENSSL_VERSION_NUMBER */
#include <openssl/rand.h>
#endif
#ifdef HAVE_LINUX_RANDOM_H