1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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
This commit is contained in:
Daniel Stenberg 2017-01-20 10:46:05 +01:00
parent 06b1197eeb
commit 01ab7c30bb

View File

@ -485,9 +485,8 @@ void Curl_ssl_close_all(struct Curl_easy *data)
} }
#if defined(USE_OPENSSL) || defined(USE_GNUTLS) || defined(USE_SCHANNEL) || \ #if defined(USE_OPENSSL) || defined(USE_GNUTLS) || defined(USE_SCHANNEL) || \
defined(USE_DARWINSSL) || defined(USE_NSS) || defined(USE_MBEDTLS) defined(USE_DARWINSSL) || defined(USE_POLARSSL) || defined(USE_NSS) || \
/* This function is for OpenSSL, GnuTLS, darwinssl, mbedtls, and schannel defined(USE_MBEDTLS)
only. */
int Curl_ssl_getsock(struct connectdata *conn, curl_socket_t *socks, int Curl_ssl_getsock(struct connectdata *conn, curl_socket_t *socks,
int numsocks) int numsocks)
{ {