]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
wolfssl: Fix non-blocking connect
authorDavid Garske <david@wolfssl.com>
Wed, 11 Apr 2018 16:46:08 +0000 (09:46 -0700)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 2 May 2018 07:01:54 +0000 (03:01 -0400)
Closes https://github.com/curl/curl/pull/2542

lib/vtls/vtls.c

index 07054f39d2955ef3b01a322e2f75348b6910b552..1745fd882128f71b788783fd277ddb50b18e67d7 100644 (file)
@@ -511,7 +511,7 @@ void Curl_ssl_close_all(struct Curl_easy *data)
 
 #if defined(USE_OPENSSL) || defined(USE_GNUTLS) || defined(USE_SCHANNEL) || \
   defined(USE_DARWINSSL) || defined(USE_POLARSSL) || defined(USE_NSS) || \
-  defined(USE_MBEDTLS)
+  defined(USE_MBEDTLS) || defined(USE_CYASSL)
 int Curl_ssl_getsock(struct connectdata *conn, curl_socket_t *socks,
                      int numsocks)
 {