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
This commit is contained in:
Jay Satiro 2016-04-28 02:57:12 -04:00
parent ba06adc4c5
commit 9f498de9a2
5 changed files with 63 additions and 75 deletions

View file

@ -80,9 +80,9 @@ as well:
.IP axTLS
SSL *
.IP mbedTLS
mbedtls_ssl_session *
mbedtls_ssl_context *
.IP PolarSSL
ssl_session *
ssl_context *
.IP "Secure Channel (WinSSL)"
CtxtHandle *
.IP "Secure Transport (DarwinSSL)"