mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Make test_tortls compile without warnings
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user