Initialise pointers to avoid IAR compiler warnings

This commit is contained in:
Andres Amaya Garcia 2017-06-27 16:15:06 +01:00
parent 5a1c0e7162
commit 53c77cccc9

View File

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