aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c12
-rw-r--r--lib/qssl.h2
2 files changed, 13 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 217ccf234..529889c86 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1588,6 +1588,18 @@ int Curl_https_getsock(struct connectdata *conn,
(void)numsocks;
return GETSOCK_BLANK;
}
+#else
+#ifdef USE_QSOSSL
+int Curl_https_getsock(struct connectdata *conn,
+ curl_socket_t *socks,
+ int numsocks)
+{
+ (void)conn;
+ (void)socks;
+ (void)numsocks;
+ return GETSOCK_BLANK;
+}
+#endif
#endif
#endif
#endif
diff --git a/lib/qssl.h b/lib/qssl.h
index 61ff80adf..55d72d4dc 100644
--- a/lib/qssl.h
+++ b/lib/qssl.h
@@ -32,7 +32,7 @@
int Curl_qsossl_init(void);
void Curl_qsossl_cleanup(void);
CURLcode Curl_qsossl_connect(struct connectdata * conn, int sockindex);
-void Curl_qsossl_close(struct connectdata * conn); /* close a SSL connection */
+void Curl_qsossl_close(struct connectdata *conn, int sockindex);
int Curl_qsossl_close_all(struct SessionHandle * data);
int Curl_qsossl_shutdown(struct connectdata * conn, int sockindex);