From 3918598e52484f4dcaf84b787f8448d1eb22e5b0 Mon Sep 17 00:00:00 2001 From: Waleed Elmelegy Date: Tue, 25 Jun 2024 10:22:49 +0100 Subject: [PATCH] Correct a small typo in ssl_tls13_parse_client_hello() Signed-off-by: Waleed Elmelegy --- library/ssl_tls13_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_tls13_server.c b/library/ssl_tls13_server.c index ae690e538e..27235a7f18 100644 --- a/library/ssl_tls13_server.c +++ b/library/ssl_tls13_server.c @@ -1362,7 +1362,7 @@ static int ssl_tls13_parse_client_hello(mbedtls_ssl_context *ssl, p += cipher_suites_len; cipher_suites_end = p; - /* Check if we have enough data to for legacy_compression_methods + /* Check if we have enough data for legacy_compression_methods * and a length byte. */ MBEDTLS_SSL_CHK_BUF_READ_PTR(p, end, 1 + p[0]);