Add return value check for cerificate verify
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
834886d211
commit
5398c10b89
@ -503,6 +503,7 @@ int mbedtls_ssl_tls13_process_certificate_verify( mbedtls_ssl_context *ssl )
|
|||||||
cleanup:
|
cleanup:
|
||||||
|
|
||||||
MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= parse certificate verify" ) );
|
MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= parse certificate verify" ) );
|
||||||
|
MBEDTLS_SSL_DEBUG_RET( 1, "mbedtls_ssl_tls13_process_certificate_verify", ret );
|
||||||
return( ret );
|
return( ret );
|
||||||
#else
|
#else
|
||||||
((void) ssl);
|
((void) ssl);
|
||||||
|
@ -8833,7 +8833,9 @@ run_test "TLS1.3: Test client hello msg work - openssl" \
|
|||||||
-c "=> ssl_tls1_3_process_server_hello" \
|
-c "=> ssl_tls1_3_process_server_hello" \
|
||||||
-c "<= parse encrypted extensions" \
|
-c "<= parse encrypted extensions" \
|
||||||
-c "Certificate verification flags clear" \
|
-c "Certificate verification flags clear" \
|
||||||
-c "<= parse certificate verify"
|
-c "=> parse certificate verify" \
|
||||||
|
-c "<= parse certificate verify" \
|
||||||
|
-c "mbedtls_ssl_tls13_process_certificate_verify() returned 0"
|
||||||
|
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
requires_gnutls_next_no_ticket
|
||||||
@ -8864,7 +8866,9 @@ run_test "TLS1.3: Test client hello msg work - gnutls" \
|
|||||||
-c "=> ssl_tls1_3_process_server_hello" \
|
-c "=> ssl_tls1_3_process_server_hello" \
|
||||||
-c "<= parse encrypted extensions" \
|
-c "<= parse encrypted extensions" \
|
||||||
-c "Certificate verification flags clear" \
|
-c "Certificate verification flags clear" \
|
||||||
-c "<= parse certificate verify"
|
-c "=> parse certificate verify" \
|
||||||
|
-c "<= parse certificate verify" \
|
||||||
|
-c "mbedtls_ssl_tls13_process_certificate_verify() returned 0"
|
||||||
|
|
||||||
# Test heap memory usage after handshake
|
# Test heap memory usage after handshake
|
||||||
requires_config_enabled MBEDTLS_MEMORY_DEBUG
|
requires_config_enabled MBEDTLS_MEMORY_DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user