mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Use error corruption detection as initial return value
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
@ -5123,7 +5123,7 @@ static int ssl_check_ctr_renegotiate( mbedtls_ssl_context *ssl )
|
|||||||
*/
|
*/
|
||||||
static int ssl_handle_hs_message_post_handshake( mbedtls_ssl_context *ssl )
|
static int ssl_handle_hs_message_post_handshake( mbedtls_ssl_context *ssl )
|
||||||
{
|
{
|
||||||
int ret;
|
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* - For client-side, expect SERVER_HELLO_REQUEST.
|
* - For client-side, expect SERVER_HELLO_REQUEST.
|
||||||
|
Reference in New Issue
Block a user