fix ci test failure

"skip parse certificate verify" can not be changed.
It is used in `Authentication: client badcert, server none`
test.

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2023-12-05 11:02:15 +08:00
parent b55f9eb5c5
commit ebb1b1d48f

View file

@ -2802,7 +2802,10 @@ static void ssl_tls13_prepare_for_handshake_second_flight(
if (ssl->handshake->certificate_request_sent) {
mbedtls_ssl_handshake_set_state(ssl, MBEDTLS_SSL_CLIENT_CERTIFICATE);
} else {
MBEDTLS_SSL_DEBUG_MSG(2, ("Skip certificate and certificate verify parsing"));
MBEDTLS_SSL_DEBUG_MSG(2, ("skip parse certificate verify"));
MBEDTLS_SSL_DEBUG_MSG(
2, ("Skip certificate and certificate verify parsing"));
mbedtls_ssl_handshake_set_state(ssl, MBEDTLS_SSL_CLIENT_FINISHED);
}
}