aboutsummaryrefslogtreecommitdiff
path: root/src/lib/tls
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-05 09:36:15 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-05 09:36:15 -0400
commit824160fd827ddacb3b030952c516e10a03671d4b (patch)
tree3712104312195331b790af9e85aaf0468cd8c880 /src/lib/tls
parentdc7c97945344169ca560a95c73ebc47be582f898 (diff)
downloadtor-824160fd827ddacb3b030952c516e10a03671d4b.tar.gz
tor-824160fd827ddacb3b030952c516e10a03671d4b.zip
Fix a type, and hopefully the win64 builds.
Diffstat (limited to 'src/lib/tls')
-rw-r--r--src/lib/tls/tortls_openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tortls_openssl.c b/src/lib/tls/tortls_openssl.c
index 5b1cdeec04..560a951bc0 100644
--- a/src/lib/tls/tortls_openssl.c
+++ b/src/lib/tls/tortls_openssl.c
@@ -1007,7 +1007,7 @@ tor_tls_setup_session_secret_cb(tor_tls_t *tls)
* determine whether it is functioning as a server.
*/
tor_tls_t *
-tor_tls_new(int sock, int isServer)
+tor_tls_new(tor_socket_t sock, int isServer)
{
BIO *bio = NULL;
tor_tls_t *result = tor_malloc_zero(sizeof(tor_tls_t));