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, unsigned char *buf,
size_t buflen ) size_t buflen )
{ {
volatile int ret = MBEDTLS_ERR_SSL_INTERNAL_ERROR; volatile int ret = 0;
unsigned char *p; unsigned char *p;
unsigned char *end; unsigned char *end;