summaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-10-02 14:20:28 +0200
committerNick Mathewson <nickm@torproject.org>2015-10-02 14:20:28 +0200
commit39901bd40884a08f1cdcecec8db5530f5b0b1eb2 (patch)
tree7f8b16f2c9b294156ef6ffd6875af1209055ea8d /src/common/tortls.c
parent086c33ea61644a27816a62f77c1629390e03d893 (diff)
downloadtor-39901bd40884a08f1cdcecec8db5530f5b0b1eb2.tar.gz
tor-39901bd40884a08f1cdcecec8db5530f5b0b1eb2.zip
Make test_tortls compile without warnings
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 86ea48ba5d..04ec69c157 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -16,6 +16,8 @@
#include "orconfig.h"
+#define TORTLS_PRIVATE
+
#include <assert.h>
#ifdef _WIN32 /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/
#include <winsock2.h>