improve readability

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2022-05-09 15:58:50 +08:00
parent 4ca9140d43
commit ead5cce22c

View File

@ -740,7 +740,9 @@ static int ssl_tls13_process_client_hello( mbedtls_ssl_context *ssl )
MBEDTLS_SSL_PROC_CHK_NEG( ssl_tls13_parse_client_hello( ssl, buf,
buf + buflen ) );
parse_client_hello_ret = ret;
parse_client_hello_ret = ret; /* store return reason of parse_client_hello
without error. on error, this statment will
not be called.*/
MBEDTLS_SSL_PROC_CHK( ssl_tls13_postprocess_client_hello( ssl ) );