diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-03-31 09:50:31 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-03-31 10:04:45 -0400 |
commit | 5ca0d6daf077a17d8b82f5749e12d624ceebe5cb (patch) | |
tree | de7bf006b507b776a797e59e86385b501db4b30f /src/test | |
parent | a8b9aba912c79e054dfdc5c6c7e64a42bc6ec541 (diff) | |
download | tor-5ca0d6daf077a17d8b82f5749e12d624ceebe5cb.tar.gz tor-5ca0d6daf077a17d8b82f5749e12d624ceebe5cb.zip |
Mark many private tortls.h APIs as openssl-only.
This change lets us remove the openssl/ssl.h include from
test_link_handshake.c.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_link_handshake.c | 1 | ||||
-rw-r--r-- | src/test/test_tortls.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_link_handshake.c b/src/test/test_link_handshake.c index 4e9fe040ff..3f2f2b6f1d 100644 --- a/src/test/test_link_handshake.c +++ b/src/test/test_link_handshake.c @@ -14,7 +14,6 @@ * srtp.h. Suppress the GCC warning so we can build with -Wredundant-decl. */ DISABLE_GCC_WARNING(redundant-decls) #include <openssl/x509.h> -#include <openssl/ssl.h> ENABLE_GCC_WARNING(redundant-decls) #include "or.h" diff --git a/src/test/test_tortls.c b/src/test/test_tortls.c index 18ffd4a8c1..7aa3051464 100644 --- a/src/test/test_tortls.c +++ b/src/test/test_tortls.c @@ -2,6 +2,7 @@ /* See LICENSE for licensing information */ #define TORTLS_PRIVATE +#define TORTLS_OPENSSL_PRIVATE #define LOG_PRIVATE #include "orconfig.h" |