mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -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:
parent
06b1197eeb
commit
01ab7c30bb
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user