aboutsummaryrefslogtreecommitdiff
path: root/lib/sslgen.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-05-04 21:57:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-05-04 21:57:14 +0000
commita16cca768051ae7c2020426fef00bb0ec537477a (patch)
tree3ebc663ce5ded5627c12e954663795ab3a29a9f5 /lib/sslgen.h
parent644482fc990a55f0cce2837bd29d2c5dad7f7b35 (diff)
- Michael Smith posted bug report #2786255
(http://curl.haxx.se/bug/view.cgi?id=2786255) with a patch, identifying how libcurl did not deal with SSL session ids properly if the server rejected a re-use of one. Starting now, it will forget the rejected one and remember the new. This change was for OpenSSL only, it is likely that other SSL lib code needs similar fixes.
Diffstat (limited to 'lib/sslgen.h')
-rw-r--r--lib/sslgen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sslgen.h b/lib/sslgen.h
index bbe7de7e9..d55bd1bb3 100644
--- a/lib/sslgen.h
+++ b/lib/sslgen.h
@@ -71,6 +71,8 @@ int Curl_ssl_getsessionid(struct connectdata *conn,
CURLcode Curl_ssl_addsessionid(struct connectdata *conn,
void *ssl_sessionid,
size_t idsize);
+/* delete a session from the cache */
+void Curl_ssl_delsessionid(struct connectdata *conn, void *ssl_sessionid);
#define SSL_SHUTDOWN_TIMEOUT 10000 /* ms */