Merge remote-tracking branch 'upstream-public/pr/988' into development

This commit is contained in:
Gilles Peskine 2017-11-28 17:08:03 +01:00
commit 9c3573a962
2 changed files with 3 additions and 1 deletions

View file

@ -30,6 +30,8 @@ Bugfix
* Fix out-of-memory problem when parsing 4096-bit PKCS8-encrypted RSA keys.
Found independently by Florian in the mbed TLS forum and by Mishamax.
#878, #1019.
* Fix variable used before assignment compilation warnings with IAR
toolchain. Found by gkerrien38.
= mbed TLS 2.6.0 branch released 2017-08-10

View file

@ -2261,7 +2261,7 @@ static int ssl_parse_server_key_exchange( mbedtls_ssl_context *ssl )
int ret;
const mbedtls_ssl_ciphersuite_t *ciphersuite_info =
ssl->transform_negotiate->ciphersuite_info;
unsigned char *p, *end;
unsigned char *p = NULL, *end = NULL;
MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> parse server key exchange" ) );