Fix CI issues

Default flow assumes failure causes multiple issues with
compatibility tests when the return value is initialised
with error value in ssl_in_server_key_exchange_parse.
The function would need a significant change in structure for this.
This commit is contained in:
Jarno Lamsa 2019-12-17 08:50:53 +02:00
parent 91dbb79ae4
commit 46afd5d8fa
2 changed files with 3 additions and 3 deletions

View file

@ -2731,7 +2731,7 @@ static int ssl_in_server_key_exchange_parse( mbedtls_ssl_context *ssl,
unsigned char *buf,
size_t buflen )
{
volatile int ret = MBEDTLS_ERR_SSL_INTERNAL_ERROR;
volatile int ret = 0;
unsigned char *p;
unsigned char *end;

View file

@ -4632,8 +4632,8 @@ static int ssl_parse_certificate_verify( mbedtls_ssl_context *ssl )
MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= parse certificate verify" ) );
goto exit;
}
}
}
MBEDTLS_SSL_DEBUG_RET( 1, "mbedtls_pk_verify", ret );