diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-03-25 12:19:14 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-03-31 10:04:44 -0400 |
commit | 706c44a6ce0bbeee51c800521a3199d76e1dcd96 (patch) | |
tree | b790ec73f80353004522e9a5d0909c2af7ae4cad | |
parent | a4964466a55a67ca96c751286b3778fc1f12727a (diff) | |
download | tor-706c44a6ce0bbeee51c800521a3199d76e1dcd96.tar.gz tor-706c44a6ce0bbeee51c800521a3199d76e1dcd96.zip |
Remove some now-needless openssl includes from src/test.
It would appear that these includes weren't actually used.
-rw-r--r-- | src/test/test_crypto_slow.c | 3 | ||||
-rw-r--r-- | src/test/test_microdesc.c | 6 | ||||
-rw-r--r-- | src/test/test_rendcache.c | 1 |
3 files changed, 0 insertions, 10 deletions
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 <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) 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 <openssl/rsa.h> -#include <openssl/bn.h> -#include <openssl/pem.h> -ENABLE_GCC_WARNING(redundant-decls) - #ifdef _WIN32 /* For mkdir() */ #include <direct.h> 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 <openssl/rsa.h> #include "rend_test_helpers.h" #include "log_test_helpers.h" |