aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorHoi-Ho Chan <hoiho.chan@gmail.com>2010-05-05 22:30:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-05-05 22:30:46 +0200
commit51427e1947ddc07b4ce8ad9dcb04846125170f83 (patch)
tree1f9bec31da95f2aaf4cf288d9c85562437e6aacf /lib/http.c
parent1de6b97a768f56a1c8b67d2165da67569afebec4 (diff)
PolarSSL: initial support added
This is Hoi-Ho Chan's patch with some minor fixes by me. There are some potential issues in this, but none worse than we can sort out on the list and over time.
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/http.c b/lib/http.c
index cfc09cd5e..fc01ee889 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1865,6 +1865,18 @@ static int https_getsock(struct connectdata *conn,
(void)numsocks;
return GETSOCK_BLANK;
}
+#else
+#ifdef USE_POLARSSL
+static int https_getsock(struct connectdata *conn,
+ curl_socket_t *socks,
+ int numsocks)
+{
+ (void)conn;
+ (void)socks;
+ (void)numsocks;
+ return GETSOCK_BLANK;
+}
+#endif
#endif
#endif
#endif