[tor/master] crypto: Remove unnecessary includes from src/common/crypto.[ch]

commit 64e6551b8bb934335251c6965355660ec26e712d Author: Isis Lovecruft <isis@torproject.org> Date: Fri Apr 6 21:37:40 2018 +0000 crypto: Remove unnecessary includes from src/common/crypto.[ch] * FIXES part of #24658: https://bugs.torproject.org/24658 --- src/common/crypto.c | 3 --- src/common/crypto.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/common/crypto.c b/src/common/crypto.c index 8d5897e49..9c40243f8 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -36,14 +36,11 @@ DISABLE_GCC_WARNING(redundant-decls) #include <openssl/err.h> -#include <openssl/rsa.h> -#include <openssl/pem.h> #include <openssl/evp.h> #include <openssl/engine.h> #include <openssl/bn.h> #include <openssl/dh.h> #include <openssl/conf.h> -#include <openssl/hmac.h> ENABLE_GCC_WARNING(redundant-decls) diff --git a/src/common/crypto.h b/src/common/crypto.h index 61a2952d2..dcec90314 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -17,13 +17,10 @@ #include <stdio.h> #include "torint.h" -#include "testsupport.h" #include "compat.h" #include "util.h" #include "crypto_rsa.h" -#include "keccak-tiny/keccak-tiny.h" - /** Length of our symmetric cipher's keys of 128-bit. */ #define CIPHER_KEY_LEN 16 /** Length of our symmetric cipher's IV of 128-bit. */
participants (1)
-
nickm@torproject.org