From 0561bffab3e99edcac2ae79ab0813f5ceacaf930 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 19 Nov 2007 09:24:24 +0000 Subject: [PATCH] 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... --- lib/sslgen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/sslgen.c b/lib/sslgen.c index a8f4e253984087..42adbc8033d149 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 */