commit | 53c77cccc9ddb7e54f1c887cab7fcac57d68c343 | [log] [tgz] |
---|---|---|
author | Andres Amaya Garcia <Andres.AmayaGarcia@arm.com> | Tue Jun 27 16:15:06 2017 +0100 |
committer | Andres Amaya Garcia <Andres.AmayaGarcia@arm.com> | Tue Jun 27 16:15:06 2017 +0100 |
tree | ac04a8b8485024aa00b08748bc08eda5880bea83 | |
parent | 5a1c0e716242acfc7027c78e36487f8df1786c83 [diff] [blame] |
Initialise pointers to avoid IAR compiler warnings
diff --git a/library/ssl_cli.c b/library/ssl_cli.c index a2b9f8c..04ce8f7 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c
@@ -2258,7 +2258,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" ) );