aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-07-30 21:41:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-07-30 21:41:12 +0000
commitf01c6e51f463a14eee8fdb43835cb7d2a144a214 (patch)
treebc094e875cf407e80831e2a28d5df8cb4acc9532 /lib
parent21d62118dc9b11beada3cb30e647e7188b5afdff (diff)
Patrick Monnerat restored qssl successful compilation and loading
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);