Initialise pointers to avoid IAR compiler warnings

This commit is contained in:
Andres Amaya Garcia 2017-06-27 16:15:06 +01:00 committed by Simon Butcher
parent c57d0e5ed5
commit b5c87012ec

View File

@ -2086,7 +2086,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" ) );