Преглед на файлове

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

 * FIXES part of #24658: https://bugs.torproject.org/24658
Isis Lovecruft преди 6 години
родител
ревизия
64e6551b8b
променени са 2 файла, в които са добавени 0 реда и са изтрити 6 реда
  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. */