diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-02-08 08:51:04 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-02-08 08:51:23 -0500 |
commit | 49ec29044d12ff1d609ebe491f08f84e958be748 (patch) | |
tree | 87e7b48bf83fa497bc0c1690ea6c07fd11169740 /src/lib/crypt_ops/crypto_rand.c | |
parent | b9abdcd6bce961baea17274ff6d213322d2b46d7 (diff) | |
download | tor-49ec29044d12ff1d609ebe491f08f84e958be748.tar.gz tor-49ec29044d12ff1d609ebe491f08f84e958be748.zip |
Add more openssl includes to fix no-deprecated compilation
Closes ticket 29026; patch from Mangix.
Diffstat (limited to 'src/lib/crypt_ops/crypto_rand.c')
-rw-r--r-- | src/lib/crypt_ops/crypto_rand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/crypt_ops/crypto_rand.c b/src/lib/crypt_ops/crypto_rand.c index 70b2965ca4..915fe0870d 100644 --- a/src/lib/crypt_ops/crypto_rand.c +++ b/src/lib/crypt_ops/crypto_rand.c @@ -45,6 +45,7 @@ #ifdef ENABLE_OPENSSL DISABLE_GCC_WARNING(redundant-decls) #include <openssl/rand.h> +#include <openssl/sha.h> ENABLE_GCC_WARNING(redundant-decls) #endif |