From 67aa959ea1ede35671535d14df1711175f2a7dfb Mon Sep 17 00:00:00 2001 From: Ari Weiler-Ofek Date: Tue, 10 Jun 2025 16:59:44 +0100 Subject: [PATCH 1/2] Fixed some minor typos in comments. Signed-off-by: Ari Weiler-Ofek --- library/ssl_msg.c | 4 ++-- library/ssl_tls12_client.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/ssl_msg.c b/library/ssl_msg.c index dba8d74ba1..5774bfc865 100644 --- a/library/ssl_msg.c +++ b/library/ssl_msg.c @@ -4189,7 +4189,7 @@ static int ssl_load_buffered_message(mbedtls_ssl_context *ssl) ret = 0; goto exit; } else { - MBEDTLS_SSL_DEBUG_MSG(2, ("Next handshake message %u not or only partially bufffered", + MBEDTLS_SSL_DEBUG_MSG(2, ("Next handshake message %u not or only partially buffered", hs->in_msg_seq)); } @@ -5957,7 +5957,7 @@ int mbedtls_ssl_write_early_data(mbedtls_ssl_context *ssl, } else { /* * If we are past the point where we can send early data or we have - * already reached the maximum early data size, return immediatly. + * already reached the maximum early data size, return immediately. * Otherwise, progress the handshake as much as possible to not delay * it too much. If we reach a point where we can still send early data, * then we will send some. diff --git a/library/ssl_tls12_client.c b/library/ssl_tls12_client.c index 114c32aea1..7be56eb121 100644 --- a/library/ssl_tls12_client.c +++ b/library/ssl_tls12_client.c @@ -1773,7 +1773,7 @@ static int ssl_get_ecdh_params_from_cert(mbedtls_ssl_context *ssl) tls_id = mbedtls_ssl_get_tls_id_from_ecp_group_id(grp_id); if (tls_id == 0) { - MBEDTLS_SSL_DEBUG_MSG(1, ("ECC group %u not suported", + MBEDTLS_SSL_DEBUG_MSG(1, ("ECC group %u not supported", grp_id)); return MBEDTLS_ERR_SSL_ILLEGAL_PARAMETER; } From 6ee4d9220e1f8aff36e41a3895121bf2c9287daa Mon Sep 17 00:00:00 2001 From: Ari Weiler-Ofek Date: Wed, 11 Jun 2025 17:40:42 +0100 Subject: [PATCH 2/2] Fixed the same typo in ssl-opt.sh Signed-off-by: Ari Weiler-Ofek --- tests/ssl-opt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 6eefd95724..5b2425bf55 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -11693,7 +11693,7 @@ run_test "DTLS reordering: Buffer out-of-order handshake message fragment on 0 \ -c "Buffering HS message" \ -c "found fragmented DTLS handshake message"\ - -c "Next handshake message 1 not or only partially bufffered" \ + -c "Next handshake message 1 not or only partially buffered" \ -c "Next handshake message has been buffered - load"\ -S "Buffering HS message" \ -S "Next handshake message has been buffered - load"\