mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-04-25 16:06:26 +00:00
Fix style issue and wording
This commit is contained in:
parent
fe87027512
commit
68b856d0ac
|
@ -6277,10 +6277,10 @@ static int ssl_parse_certificate_chain( mbedtls_ssl_context *ssl )
|
|||
/* Check if we're handling the first CRT in the chain. */
|
||||
if( ssl->session_negotiate->peer_cert == NULL )
|
||||
{
|
||||
/* During client-side renegotiation, check the server's end-CRTs
|
||||
* hasn't changed compared to the initial handshake, mitigating
|
||||
* the triple handshake attack. On success, reuse the original
|
||||
* end-CRT instead of parsing it again. */
|
||||
/* During client-side renegotiation, check that the server's
|
||||
* end-CRTs hasn't changed compared to the initial handshake,
|
||||
* mitigating the triple handshake attack. On success, reuse
|
||||
* the original end-CRT instead of parsing it again. */
|
||||
#if defined(MBEDTLS_SSL_RENEGOTIATION) && defined(MBEDTLS_SSL_CLI_C)
|
||||
if( ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT &&
|
||||
ssl->renego_status == MBEDTLS_SSL_RENEGOTIATION_IN_PROGRESS )
|
||||
|
|
Loading…
Reference in a new issue