|
Line 0
Link Here
|
|
|
1 |
Description: Fixed an old leftover use of the USE_SSLEAY define which |
| 2 |
would make a socket get removed from the applications sockets to |
| 3 |
monitor when the multi_socket API was used, leading to timeouts. |
| 4 |
Forwarded: not-needed |
| 5 |
Author: Daniel Stenberg <daniel@haxx.se> |
| 6 |
Last-Update: 2016-12-26 |
| 7 |
|
| 8 |
--- lib/vtls/vtls.c.orig 2016-12-19 07:27:56 UTC |
| 9 |
+++ lib/vtls/vtls.c |
| 10 |
@@ -484,7 +484,7 @@ void Curl_ssl_close_all(struct Curl_easy |
| 11 |
curlssl_close_all(data); |
| 12 |
} |
| 13 |
|
| 14 |
-#if defined(USE_SSLEAY) || defined(USE_GNUTLS) || defined(USE_SCHANNEL) || \ |
| 15 |
+#if defined(USE_OPENSSL) || defined(USE_GNUTLS) || defined(USE_SCHANNEL) || \ |
| 16 |
defined(USE_DARWINSSL) || defined(USE_NSS) |
| 17 |
/* This function is for OpenSSL, GnuTLS, darwinssl, and schannel only. */ |
| 18 |
int Curl_ssl_getsock(struct connectdata *conn, curl_socket_t *socks, |
| 19 |
@@ -518,7 +518,7 @@ int Curl_ssl_getsock(struct connectdata |
| 20 |
(void)numsocks; |
| 21 |
return GETSOCK_BLANK; |
| 22 |
} |
| 23 |
-/* USE_SSLEAY || USE_GNUTLS || USE_SCHANNEL || USE_DARWINSSL || USE_NSS */ |
| 24 |
+/* USE_OPENSSL || USE_GNUTLS || USE_SCHANNEL || USE_DARWINSSL || USE_NSS */ |
| 25 |
#endif |
| 26 |
|
| 27 |
void Curl_ssl_close(struct connectdata *conn, int sockindex) |