aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-01-20 10:46:05 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-01-20 10:46:05 +0100
commit01ab7c30bba6f95bb52653512c2f34efbb481405 (patch)
tree797f03d7e21921aa9d77196e0f98f16d1de3a7fd /lib
parent06b1197eeb6425ae297a5fad9ed65f09e9cf51d0 (diff)
vtls: fix PolarSSL non-blocking handling
A regression brought in cb4e2be Reported-by: Michael Kaufmann Bug: https://github.com/curl/curl/issues/1174#issuecomment-274018791
Diffstat (limited to 'lib')
-rw-r--r--lib/vtls/vtls.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c
index 871622fef..a61db6733 100644
--- a/lib/vtls/vtls.c
+++ b/lib/vtls/vtls.c
@@ -485,9 +485,8 @@ void Curl_ssl_close_all(struct Curl_easy *data)
}
#if defined(USE_OPENSSL) || defined(USE_GNUTLS) || defined(USE_SCHANNEL) || \
- defined(USE_DARWINSSL) || defined(USE_NSS) || defined(USE_MBEDTLS)
-/* This function is for OpenSSL, GnuTLS, darwinssl, mbedtls, and schannel
- only. */
+ defined(USE_DARWINSSL) || defined(USE_POLARSSL) || defined(USE_NSS) || \
+ defined(USE_MBEDTLS)
int Curl_ssl_getsock(struct connectdata *conn, curl_socket_t *socks,
int numsocks)
{