mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-01 07:49:57 +00:00
Update CertificateRequest skip condition
Signed-off-by: Xiaofei Bai <[email protected]>
This commit is contained in:
@@ -1417,7 +1417,7 @@ static int ssl_tls13_certificate_request_coordinate( mbedtls_ssl_context *ssl )
|
||||
{
|
||||
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||
|
||||
if( ! mbedtls_ssl_tls13_some_ephemeral_enabled( ssl ) )
|
||||
if( mbedtls_ssl_tls13_some_psk_enabled( ssl ) )
|
||||
{
|
||||
MBEDTLS_SSL_DEBUG_MSG( 3, ( "<= skip parse certificate request" ) );
|
||||
return( SSL_CERTIFICATE_REQUEST_SKIP );
|
||||
|
||||
Reference in New Issue
Block a user