summaryrefslogtreecommitdiff
path: root/src/common/crypto_digest.c
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2018-02-20 19:59:09 +0000
committerIsis Lovecruft <isis@torproject.org>2018-02-20 20:29:54 +0000
commit7759ac8df2944aa58fff4152dd2c4c521f78ef10 (patch)
tree8e8f2622a99443eacf19aa09b54ffec8a155a1cd /src/common/crypto_digest.c
parent3e9140e79a063ca7a8539a0d58e6d379be775ff3 (diff)
downloadtor-7759ac8df2944aa58fff4152dd2c4c521f78ef10.tar.gz
tor-7759ac8df2944aa58fff4152dd2c4c521f78ef10.zip
crypto: Remove crypto_rsa.h from crypto_digest.c.
* ADD include for "crypto_openssl_mgt.h" so that we have OpenSSL defined SHA* types and functions. * FIXES part of #24658: https://bugs.torproject.org/24658#comment:30
Diffstat (limited to 'src/common/crypto_digest.c')
-rw-r--r--src/common/crypto_digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto_digest.c b/src/common/crypto_digest.c
index 3f7884b12e..4177893414 100644
--- a/src/common/crypto_digest.c
+++ b/src/common/crypto_digest.c
@@ -13,7 +13,7 @@
#include "crypto_digest.h"
#include "crypto.h" /* common functions */
-#include "crypto_rsa.h"
+#include "crypto_openssl_mgt.h"
DISABLE_GCC_WARNING(redundant-decls)