summaryrefslogtreecommitdiff
path: root/lib/sslgen.c
diff options
context:
space:
mode:
authorHoward Chu <hyc@highlandsun.com>2010-05-07 15:05:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-05-07 15:05:34 +0200
commitd64bd82bdcb169d0647a80f00068cedd761f8163 (patch)
tree222920db94e7d4ae7df6df1f9a9afd0b78159492 /lib/sslgen.c
parentcb6647ce1cfba836203e91057752441302b9c46a (diff)
downloadcurl-d64bd82bdcb169d0647a80f00068cedd761f8163.tar.gz
sendrecv: split the I/O handling into private handler
Howard Chu brought the bulk work of this patch that properly moves out the sending and recving of data to the parts of the code that are properly responsible for the various ways of doing so. Daniel Stenberg assisted with polishing a few bits and fixed some minor flaws in the original patch. Another upside of this patch is that we now abuse CURLcodes less with the "magic" -1 return codes and instead use CURLE_AGAIN more consistently.
Diffstat (limited to 'lib/sslgen.c')
-rw-r--r--lib/sslgen.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/sslgen.c b/lib/sslgen.c
index 24b6dcbd6..bd8dc1722 100644
--- a/lib/sslgen.c
+++ b/lib/sslgen.c
@@ -410,25 +410,6 @@ struct curl_slist *Curl_ssl_engines_list(struct SessionHandle *data)
return curlssl_engines_list(data);
}
-ssize_t Curl_ssl_send(struct connectdata *conn,
- int sockindex,
- const void *mem,
- size_t len,
- int *curlcode)
-{
- return curlssl_send(conn, sockindex, mem, len, curlcode);
-}
-
-ssize_t Curl_ssl_recv(struct connectdata *conn,
- int sockindex,
- char *mem,
- size_t len,
- int *curlcode)
-{
- return curlssl_recv(conn, sockindex, mem, len, curlcode);
-}
-
-
/*
* This sets up a session ID cache to the specified size. Make sure this code
* is agnostic to what underlying SSL technology we use.