Correct a small typo in ssl_tls13_parse_client_hello()

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
Waleed Elmelegy 2024-06-25 10:22:49 +01:00
parent 566ed54d6e
commit 3918598e52

View File

@ -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]);