From 1ca80f7ca5fe9cc93849ee0cb1d7aa91baec6759 Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Mon, 8 Nov 2021 10:30:54 +0800 Subject: [PATCH] fix comment issue Signed-off-by: Jerry Yu --- library/ssl_msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/ssl_msg.c b/library/ssl_msg.c index 40eb57e223..fc3ecc8824 100644 --- a/library/ssl_msg.c +++ b/library/ssl_msg.c @@ -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. */ int minor_ver = ssl->minor_ver; #if defined(MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL) - /* TLS 1.3 still uses the TLS 1.3 version identifier - * for backwards compatibility. */ + /* TLS 1.3 still uses the TLS 1.2 version identifier + * for backwards compatibility. */ if( minor_ver == MBEDTLS_SSL_MINOR_VERSION_4 ) minor_ver = MBEDTLS_SSL_MINOR_VERSION_3; #endif /* MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL */