瀏覽代碼

Fix a type, and hopefully the win64 builds.

Nick Mathewson 5 年之前
父節點
當前提交
824160fd82
共有 1 個文件被更改,包括 1 次插入1 次删除
  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));