diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-01-20 10:46:05 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-01-20 10:46:05 +0100 |
commit | 01ab7c30bba6f95bb52653512c2f34efbb481405 (patch) | |
tree | 797f03d7e21921aa9d77196e0f98f16d1de3a7fd /lib | |
parent | 06b1197eeb6425ae297a5fad9ed65f09e9cf51d0 (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.c | 5 |
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) { |