aboutsummaryrefslogtreecommitdiff
path: root/lib/sslgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sslgen.c')
-rw-r--r--lib/sslgen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sslgen.c b/lib/sslgen.c
index a8f4e2539..42adbc803 100644
--- a/lib/sslgen.c
+++ b/lib/sslgen.c
@@ -248,11 +248,13 @@ Curl_ssl_connect_nonblocking(struct connectdata *conn, int sockindex,
#else
#ifdef USE_QSOSSL
*done = TRUE; /* fallback to BLOCKING */
+ conn->ssl[sockindex].use = TRUE;
return Curl_qsossl_connect(conn, sockindex);
#else
/* not implemented!
fallback to BLOCKING call. */
*done = TRUE;
+ conn->ssl[sockindex].use = TRUE;
return Curl_ssl_connect(conn, sockindex);
#endif /* USE_QSOSSL */
#endif /* USE_NSS */