Quellcode durchsuchen

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

 * FIXES part of #24658: https://bugs.torproject.org/24658
Isis Lovecruft vor 6 Jahren
Ursprung
Commit
64e6551b8b
2 geänderte Dateien mit 0 neuen und 6 gelöschten Zeilen
  1. 0 3
      src/common/crypto.c
  2. 0 3
      src/common/crypto.h

+ 0 - 3
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)
 

+ 0 - 3
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. */