diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-12 20:56:47 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-12 20:56:47 +0300 |
commit | ae6071dcd2aa7e8eb2d4765e1633aa75eed89e0c (patch) | |
tree | 9252e4c997b23ec68074eed0a82ed08650b37f90 /src/microhttpd/daemon.c | |
parent | fdf0ea88acd3829766a7aec8ef7418dc535c2850 (diff) | |
download | libmicrohttpd-ae6071dcd2aa7e8eb2d4765e1633aa75eed89e0c.tar.gz libmicrohttpd-ae6071dcd2aa7e8eb2d4765e1633aa75eed89e0c.zip |
GnuTLS: correctly pass sockets on W32 x64
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index a75dd0c0..0c9ee2e8 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -2646,7 +2646,7 @@ new_connection_prepare_ (struct MHD_Daemon *daemon, | |||
2646 | #else /* GnuTLS before 3.1.9 or Win x64 */ | 2646 | #else /* GnuTLS before 3.1.9 or Win x64 */ |
2647 | gnutls_transport_set_ptr (connection->tls_session, | 2647 | gnutls_transport_set_ptr (connection->tls_session, |
2648 | (gnutls_transport_ptr_t) (intptr_t) (client_socket)); | 2648 | (gnutls_transport_ptr_t) (intptr_t) (client_socket)); |
2649 | #endif /* GnuTLS before 3.1.9 */ | 2649 | #endif /* GnuTLS before 3.1.9 or Win x64 */ |
2650 | #ifdef MHD_TLSLIB_NEED_PUSH_FUNC | 2650 | #ifdef MHD_TLSLIB_NEED_PUSH_FUNC |
2651 | gnutls_transport_set_push_function (connection->tls_session, | 2651 | gnutls_transport_set_push_function (connection->tls_session, |
2652 | MHD_tls_push_func_); | 2652 | MHD_tls_push_func_); |