[tor-commits] [tor/master] Fix a type, and hopefully the win64 builds.

nickm at torproject.org nickm at torproject.org
Wed Sep 5 13:36:20 UTC 2018


commit 824160fd827ddacb3b030952c516e10a03671d4b
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Sep 5 09:36:15 2018 -0400

    Fix a type, and hopefully the win64 builds.
---
 src/lib/tls/tortls_openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/tls/tortls_openssl.c b/src/lib/tls/tortls_openssl.c
index 5b1cdeec0..560a951bc 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));



More information about the tor-commits mailing list