diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2016-04-28 02:57:12 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2016-04-28 02:57:38 -0400 |
commit | 9f498de9a28e4a4a3f73108756fb7e50af9ec014 (patch) | |
tree | fa8eba981e9d8a5cd603fd1c378af99ddfd9c6ef /lib/urldata.h | |
parent | ba06adc4c5aa25849b9024c21cc4c826c5bf9506 (diff) | |
download | curl-9f498de9a28e4a4a3f73108756fb7e50af9ec014.tar.gz |
mbedtls: Fix session resume
This also fixes PolarSSL session resume.
Prior to this change the TLS session information wasn't properly
saved and restored for PolarSSL and mbedTLS.
Bug: https://curl.haxx.se/mail/lib-2016-01/0070.html
Reported-by: Thomas Glanzmann
Bug: https://curl.haxx.se/mail/lib-2016-04/0095.html
Reported-by: Moti Avrahami
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index f190fbdd6..c0b2e2f7f 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -290,7 +290,6 @@ struct ssl_connect_data { mbedtls_ctr_drbg_context ctr_drbg; mbedtls_entropy_context entropy; mbedtls_ssl_context ssl; - mbedtls_ssl_session ssn; int server_fd; mbedtls_x509_crt cacert; mbedtls_x509_crt clicert; @@ -302,7 +301,6 @@ struct ssl_connect_data { ctr_drbg_context ctr_drbg; entropy_context entropy; ssl_context ssl; - ssl_session ssn; int server_fd; x509_crt cacert; x509_crt clicert; |