mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-23 16:20:49 +00:00
fix client_auth fail
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
2c5fbad479
commit
7840f81303
@ -1813,7 +1813,7 @@ static int ssl_tls13_parse_certificate_request( mbedtls_ssl_context *ssl,
|
||||
goto decode_error;
|
||||
}
|
||||
|
||||
ssl->client_auth = 1;
|
||||
ssl->handshake->client_auth = 1;
|
||||
return( 0 );
|
||||
|
||||
decode_error:
|
||||
@ -1861,7 +1861,7 @@ static int ssl_tls13_process_certificate_request( mbedtls_ssl_context *ssl )
|
||||
}
|
||||
|
||||
MBEDTLS_SSL_DEBUG_MSG( 3, ( "got %s certificate request",
|
||||
ssl->client_auth ? "a" : "no" ) );
|
||||
ssl->handshake->client_auth ? "a" : "no" ) );
|
||||
|
||||
mbedtls_ssl_handshake_set_state( ssl, MBEDTLS_SSL_SERVER_CERTIFICATE );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user