Typo
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
5471912269
commit
96ae926572
2 changed files with 5 additions and 5 deletions
|
@ -2720,7 +2720,7 @@ int mbedtls_ssl_write_record( mbedtls_ssl_context *ssl, int force_flush )
|
|||
if( ++ssl->cur_out_ctr[i - 1] != 0 )
|
||||
break;
|
||||
|
||||
/* The loop goes to its end iff the counter is wrapping */
|
||||
/* The loop goes to its end if the counter is wrapping */
|
||||
if( i == mbedtls_ssl_ep_len( ssl ) )
|
||||
{
|
||||
MBEDTLS_SSL_DEBUG_MSG( 1, ( "outgoing message counter would wrap" ) );
|
||||
|
|
|
@ -1273,8 +1273,8 @@ static int ssl_tls13_write_server_hello( mbedtls_ssl_context *ssl )
|
|||
* after its first handshake message. This may either be after
|
||||
* a ServerHello or a HelloRetryRequest.
|
||||
*/
|
||||
mbedtls_ssl_handshake_set_state( ssl,
|
||||
MBEDTLS_SSL_SERVER_CCS_AFTER_SERVER_HELLO );
|
||||
mbedtls_ssl_handshake_set_state(
|
||||
ssl, MBEDTLS_SSL_SERVER_CCS_AFTER_SERVER_HELLO );
|
||||
#else
|
||||
mbedtls_ssl_handshake_set_state( ssl, MBEDTLS_SSL_ENCRYPTED_EXTENSIONS );
|
||||
#endif /* MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE */
|
||||
|
@ -1348,8 +1348,8 @@ static int ssl_tls13_write_hello_retry_request( mbedtls_ssl_context *ssl )
|
|||
* after its first handshake message. This may either be after
|
||||
* a ServerHello or a HelloRetryRequest.
|
||||
*/
|
||||
mbedtls_ssl_handshake_set_state( ssl,
|
||||
MBEDTLS_SSL_SERVER_CCS_AFTER_HELLO_RETRY_REUEST );
|
||||
mbedtls_ssl_handshake_set_state(
|
||||
ssl, MBEDTLS_SSL_SERVER_CCS_AFTER_HELLO_RETRY_REUEST );
|
||||
#else
|
||||
mbedtls_ssl_handshake_set_state( ssl, MBEDTLS_SSL_CLIENT_HELLO );
|
||||
#endif /* MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE */
|
||||
|
|
Loading…
Reference in a new issue