I think this is the right fix for other non-OpenSSL libs, based on the NSS fix
from the other day. It is time to setup the internal SSL libs and treat them with a "handler" struct similar to how we deal with the protocols these days...
This commit is contained in:
@@ -248,11 +248,13 @@ Curl_ssl_connect_nonblocking(struct connectdata *conn, int sockindex,
|
|||||||
#else
|
#else
|
||||||
#ifdef USE_QSOSSL
|
#ifdef USE_QSOSSL
|
||||||
*done = TRUE; /* fallback to BLOCKING */
|
*done = TRUE; /* fallback to BLOCKING */
|
||||||
|
conn->ssl[sockindex].use = TRUE;
|
||||||
return Curl_qsossl_connect(conn, sockindex);
|
return Curl_qsossl_connect(conn, sockindex);
|
||||||
#else
|
#else
|
||||||
/* not implemented!
|
/* not implemented!
|
||||||
fallback to BLOCKING call. */
|
fallback to BLOCKING call. */
|
||||||
*done = TRUE;
|
*done = TRUE;
|
||||||
|
conn->ssl[sockindex].use = TRUE;
|
||||||
return Curl_ssl_connect(conn, sockindex);
|
return Curl_ssl_connect(conn, sockindex);
|
||||||
#endif /* USE_QSOSSL */
|
#endif /* USE_QSOSSL */
|
||||||
#endif /* USE_NSS */
|
#endif /* USE_NSS */
|
||||||
|
|||||||
Reference in New Issue
Block a user