mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-06-06 11:40:59 +03:00
fix comment issue
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
ba9c727e94
commit
1ca80f7ca5
@ -2562,8 +2562,8 @@ int mbedtls_ssl_write_record( mbedtls_ssl_context *ssl, uint8_t force_flush )
|
|||||||
* as it may change when using the CID extension. */
|
* as it may change when using the CID extension. */
|
||||||
int minor_ver = ssl->minor_ver;
|
int minor_ver = ssl->minor_ver;
|
||||||
#if defined(MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL)
|
#if defined(MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL)
|
||||||
/* TLS 1.3 still uses the TLS 1.3 version identifier
|
/* TLS 1.3 still uses the TLS 1.2 version identifier
|
||||||
* for backwards compatibility. */
|
* for backwards compatibility. */
|
||||||
if( minor_ver == MBEDTLS_SSL_MINOR_VERSION_4 )
|
if( minor_ver == MBEDTLS_SSL_MINOR_VERSION_4 )
|
||||||
minor_ver = MBEDTLS_SSL_MINOR_VERSION_3;
|
minor_ver = MBEDTLS_SSL_MINOR_VERSION_3;
|
||||||
#endif /* MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL */
|
#endif /* MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user