commit | bc847caa333cd830ac3b1215688ab216210a6e10 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Tue Jul 23 14:51:09 2019 +0200 |
committer | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Tue Jul 23 17:02:10 2019 +0200 |
tree | 77c44031efeb44d040795ab1bc121c412e3efc78 | |
parent | ff22200fab6ad7fc3ffde46a3ab9837aaa90f6d3 [diff] [blame] |
Actually reset the context on save as advertised Also fix some wording in the documentation while at it.
diff --git a/library/ssl_tls.c b/library/ssl_tls.c index b80fc34..d96038a 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c
@@ -10957,7 +10957,7 @@ MBEDTLS_SSL_DEBUG_BUF( 4, "saved context", buf, used ); - return( 0 ); + return( ssl_session_reset_int( ssl, 0 ) ); } /*