From: Nick Mathewson Date: Sat, 25 Mar 2017 11:19:14 +0000 (+0100) Subject: Remove some now-needless openssl includes from src/test. X-Git-Tag: tor-0.3.1.1-alpha~178^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=706c44a6ce0bbeee51c800521a3199d76e1dcd96;p=thirdparty%2Ftor.git Remove some now-needless openssl includes from src/test. It would appear that these includes weren't actually used. --- diff --git a/src/test/test_crypto_slow.c b/src/test/test_crypto_slow.c index 6d676ff9b9..d6b0a43dd5 100644 --- a/src/test/test_crypto_slow.c +++ b/src/test/test_crypto_slow.c @@ -12,11 +12,8 @@ #if defined(HAVE_LIBSCRYPT_H) && defined(HAVE_LIBSCRYPT_SCRYPT) #define HAVE_LIBSCRYPT -#include #endif -#include - /** Run unit tests for our secret-to-key passphrase hashing functionality. */ static void test_crypto_s2k_rfc2440(void *arg) diff --git a/src/test/test_microdesc.c b/src/test/test_microdesc.c index b8d96491d4..c78fda3b69 100644 --- a/src/test/test_microdesc.c +++ b/src/test/test_microdesc.c @@ -14,12 +14,6 @@ #include "test.h" -DISABLE_GCC_WARNING(redundant-decls) -#include -#include -#include -ENABLE_GCC_WARNING(redundant-decls) - #ifdef _WIN32 /* For mkdir() */ #include diff --git a/src/test/test_rendcache.c b/src/test/test_rendcache.c index 59d3be9003..feba8f664e 100644 --- a/src/test/test_rendcache.c +++ b/src/test/test_rendcache.c @@ -11,7 +11,6 @@ #include "routerlist.h" #include "config.h" #include "hs_common.h" -#include #include "rend_test_helpers.h" #include "log_test_helpers.h"