From 1671d84b38ac61f0852e8ff2915fef3346dc53f7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 10 Oct 2016 16:47:54 +0200 Subject: vtls: only re-use session-ids using the same scheme To make it harder to do cross-protocol mistakes --- lib/urldata.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index fd9870e26..7c7bf1ba0 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -374,6 +374,7 @@ struct ssl_config_data { struct curl_ssl_session { char *name; /* host name for which this ID was used */ char *conn_to_host; /* host name for the connection (may be NULL) */ + const char *scheme; /* protocol scheme used */ void *sessionid; /* as returned from the SSL layer */ size_t idsize; /* if known, otherwise 0 */ long age; /* just a number, the higher the more recent */ -- cgit v1.2.1