From e31688b7fa00c6f286c6f02e35b7cc92ec7459c4 Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Tue, 22 Nov 2022 21:55:56 +0800 Subject: [PATCH] fix comments issue Signed-off-by: Jerry Yu --- library/ssl_tls13_keys.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/ssl_tls13_keys.c b/library/ssl_tls13_keys.c index c01da956a..57c1843e4 100644 --- a/library/ssl_tls13_keys.c +++ b/library/ssl_tls13_keys.c @@ -1090,12 +1090,12 @@ static int ssl_tls13_get_cipher_key_info( #if defined(MBEDTLS_SSL_EARLY_DATA) /* * ssl_tls13_generate_early_key() generates the key necessary for protecting - * the early application data and the EndOfEarlyData handshake message - * as described in section 7 of RFC 8446. + * the early application data and handshake messages as described in section 7 + * of RFC 8446. * - * NOTE: That only one key is generated, the key for the traffic from the - * client to the server. The TLS 1.3 specification does not define a secret - * and thus a key for server early traffic. + * NOTE: Only one key is generated, the key for the traffic from the client to + * the server. The TLS 1.3 specification does not define a secret and thus + * a key for server early traffic. */ MBEDTLS_CHECK_RETURN_CRITICAL static int ssl_tls13_generate_early_key( mbedtls_ssl_context *ssl,