summaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_rand.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-02-14 18:01:07 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2019-02-14 18:01:07 +0200
commit00b073b1bc909d2d2a30a3c1ddd5abd5e670da80 (patch)
tree264c68eb971720a9c62b1fb2775995cf727f7a20 /src/lib/crypt_ops/crypto_rand.c
parentb804d5bc49fe6f73e96f8b584c499249bbe8d2a5 (diff)
parentd83c299eba8010204b3fe0760b1372c7564889fe (diff)
downloadtor-00b073b1bc909d2d2a30a3c1ddd5abd5e670da80.tar.gz
tor-00b073b1bc909d2d2a30a3c1ddd5abd5e670da80.zip
Merge branch 'maint-0.3.5'
Diffstat (limited to 'src/lib/crypt_ops/crypto_rand.c')
-rw-r--r--src/lib/crypt_ops/crypto_rand.c1
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 f45ff719d3..e377054219 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