mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-07-01 08:19:20 +00:00
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:
parent
91dbb79ae4
commit
46afd5d8fa
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -4632,8 +4632,8 @@ static int ssl_parse_certificate_verify( mbedtls_ssl_context *ssl )
|
||||||
|
|
||||||
MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= parse certificate verify" ) );
|
MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= parse certificate verify" ) );
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MBEDTLS_SSL_DEBUG_RET( 1, "mbedtls_pk_verify", ret );
|
MBEDTLS_SSL_DEBUG_RET( 1, "mbedtls_pk_verify", ret );
|
||||||
|
|
Loading…
Reference in a new issue