Browse Source

[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 5 years ago
parent
commit
5b81201be9
  1. 1
      src/rand.c

1
src/rand.c

@ -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

Loading…
Cancel
Save