1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

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 a5842ac20e
commit 0a9e8a3a18

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