Make test_tortls compile without warnings

This commit is contained in:
Nick Mathewson
2015-10-02 14:20:28 +02:00
parent 086c33ea61
commit 39901bd408
3 changed files with 53 additions and 14 deletions
+2
View File
@@ -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>
+1
View File
@@ -156,6 +156,7 @@ STATIC int tor_tls_context_init_one(tor_tls_context_t **ppcontext,
unsigned int key_lifetime,
unsigned int flags,
int is_client);
STATIC void tls_log_errors(tor_tls_t *tls, int severity, int domain, const char *doing);
#endif