From f01c6e51f463a14eee8fdb43835cb7d2a144a214 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 30 Jul 2007 21:41:12 +0000 Subject: Patrick Monnerat restored qssl successful compilation and loading --- lib/http.c | 12 ++++++++++++ lib/qssl.h | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3