Parcourir la source

Fix a type, and hopefully the win64 builds.

Nick Mathewson il y a 5 ans
Parent
commit
824160fd82
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib/tls/tortls_openssl.c

+ 1 - 1
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));