aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-11-19 09:24:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-11-19 09:24:24 +0000
commit0561bffab3e99edcac2ae79ab0813f5ceacaf930 (patch)
treeda066d231945cb3ab569ccac27a701d9e8b49dc8
parent968e943eac70f0c312247046dfb0afca6d1470a5 (diff)
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...
-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 */