aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorEric Hu <ehu@directv.com>2010-12-03 10:23:45 -0800
committerDaniel Stenberg <daniel@haxx.se>2010-12-15 16:05:17 +0100
commit108d7693a443435e39d2278d5dbf842a80c6260c (patch)
tree43d46e0abf1df87da2f46a4576ae0fef2c69a4c1 /lib/http.c
parent00a5bd41bee6b32572355c0e9bd126bf1e44613c (diff)
Preparing for axTLS. Actual SSL API functions are only stubbed.
Added axTLS to autotool files and glue code to misc other files. axtls.h maps SSL API functions, but may change. axtls.c is just a stub file and will definitely change.
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c20
1 files changed, 16 insertions, 4 deletions
diff --git a/lib/http.c b/lib/http.c
index e35437f1e..2cf4dd2d3 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1881,10 +1881,22 @@ static int https_getsock(struct connectdata *conn,
(void)numsocks;
return GETSOCK_BLANK;
}
-#endif
-#endif
-#endif
-#endif
+#else
+#ifdef USE_AXTLS
+static int https_getsock(struct connectdata *conn,
+ curl_socket_t *socks,
+ int numsocks)
+{
+ (void)conn;
+ (void)socks;
+ (void)numsocks;
+ return GETSOCK_BLANK;
+}
+#endif /* USE_AXTLS */
+#endif /* USE_POLARSSL */
+#endif /* USE_QSOSSL */
+#endif /* USE_NSS */
+#endif /* USE_SSLEAY || USE_GNUTLS */
/*
* Curl_http_done() gets called from Curl_done() after a single HTTP request