Browse Source

Remove some now-needless openssl includes from src/test.

It would appear that these includes weren't actually used.
Nick Mathewson 7 years ago
parent
commit
706c44a6ce
3 changed files with 0 additions and 10 deletions
  1. 0 3
      src/test/test_crypto_slow.c
  2. 0 6
      src/test/test_microdesc.c
  3. 0 1
      src/test/test_rendcache.c

+ 0 - 3
src/test/test_crypto_slow.c

@@ -12,11 +12,8 @@
 
 #if defined(HAVE_LIBSCRYPT_H) && defined(HAVE_LIBSCRYPT_SCRYPT)
 #define HAVE_LIBSCRYPT
-#include <libscrypt.h>
 #endif
 
-#include <openssl/evp.h>
-
 /** Run unit tests for our secret-to-key passphrase hashing functionality. */
 static void
 test_crypto_s2k_rfc2440(void *arg)

+ 0 - 6
src/test/test_microdesc.c

@@ -14,12 +14,6 @@
 
 #include "test.h"
 
-DISABLE_GCC_WARNING(redundant-decls)
-#include <openssl/rsa.h>
-#include <openssl/bn.h>
-#include <openssl/pem.h>
-ENABLE_GCC_WARNING(redundant-decls)
-
 #ifdef _WIN32
 /* For mkdir() */
 #include <direct.h>

+ 0 - 1
src/test/test_rendcache.c

@@ -11,7 +11,6 @@
 #include "routerlist.h"
 #include "config.h"
 #include "hs_common.h"
-#include <openssl/rsa.h>
 #include "rend_test_helpers.h"
 #include "log_test_helpers.h"