commit | b5c87012ec958dff4b37192b70a195344cd00e29 | [log] [tgz] |
---|---|---|
author | Andres Amaya Garcia <Andres.AmayaGarcia@arm.com> | Tue Jun 27 16:15:06 2017 +0100 |
committer | Simon Butcher <simon.butcher@arm.com> | Thu Jun 14 08:48:49 2018 +0100 |
tree | b2a39372726d9ea460f1d4f1ec4f83c57091c232 | |
parent | c57d0e5ed5a5560bcee2775d03ce855f6abf7e7c [diff] [blame] |
Initialise pointers to avoid IAR compiler warnings
diff --git a/library/ssl_cli.c b/library/ssl_cli.c index 2d1dcf8..a57d866 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c
@@ -2086,7 +2086,7 @@ 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" ) );