curl/lib/vtls
Jay Satiro 04b4ee5498 vtls: Only call add/getsession if session id is enabled
Prior to this change we called Curl_ssl_getsessionid and
Curl_ssl_addsessionid regardless of whether session ID reusing was
enabled. According to comments that is in case session ID reuse was
disabled but then later enabled.

The old way was not intuitive and probably not something users expected.
When a user disables session ID caching I'd guess they don't expect the
session ID to be cached anyway in case the caching is later enabled.
2016-06-22 02:33:29 -04:00
..
axtls.c vtls: Only call add/getsession if session id is enabled 2016-06-22 02:33:29 -04:00
axtls.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
cyassl.c vtls: Only call add/getsession if session id is enabled 2016-06-22 02:33:29 -04:00
cyassl.h tls: make setting pinnedkey option fail if not supported 2016-05-01 17:05:38 +02:00
darwinssl.c vtls: Only call add/getsession if session id is enabled 2016-06-22 02:33:29 -04:00
darwinssl.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
gskit.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
gskit.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
gtls.c vtls: Only call add/getsession if session id is enabled 2016-06-22 02:33:29 -04:00
gtls.h tls: make setting pinnedkey option fail if not supported 2016-05-01 17:05:38 +02:00
mbedtls.c vtls: Only call add/getsession if session id is enabled 2016-06-22 02:33:29 -04:00
mbedtls.h tls: make setting pinnedkey option fail if not supported 2016-05-01 17:05:38 +02:00
nss.c TLS: move the ALPN/NPN enable bits to the connection 2016-05-09 15:30:25 -04:00
nssg.h tls: make setting pinnedkey option fail if not supported 2016-05-01 17:05:38 +02:00
openssl.c vtls: Only call add/getsession if session id is enabled 2016-06-22 02:33:29 -04:00
openssl.h tls: make setting pinnedkey option fail if not supported 2016-05-01 17:05:38 +02:00
polarssl.c vtls: Only call add/getsession if session id is enabled 2016-06-22 02:33:29 -04:00
polarssl.h tls: make setting pinnedkey option fail if not supported 2016-05-01 17:05:38 +02:00
polarssl_threadlock.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
polarssl_threadlock.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
schannel.c vtls: Only call add/getsession if session id is enabled 2016-06-22 02:33:29 -04:00
schannel.h schannel: add CURLOPT_CERTINFO support 2016-06-01 08:50:01 +02:00
vtls.c vtls: Only call add/getsession if session id is enabled 2016-06-22 02:33:29 -04:00
vtls.h vtls: fix ssl session cache race condition 2016-06-01 09:40:55 +02:00