commit 64e6551b8bb934335251c6965355660ec26e712d
parent fe3aca149191f2eac410caa7113fb6f7e0804d8c
Author: Isis Lovecruft <isis@torproject.org>
Date: Fri, 6 Apr 2018 21:37:40 +0000
crypto: Remove unnecessary includes from src/common/crypto.[ch]
* FIXES part of #24658: https://bugs.torproject.org/24658
Diffstat:
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git 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
@@ -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. */