From e6fa789e68287bab48fdd7ba55db1ba8a56c2e5d Mon Sep 17 00:00:00 2001 From: Marco Oliverio Date: Tue, 19 May 2026 08:34:27 +0200 Subject: [PATCH] test_dtls: remove non-ASCII chars --- tests/api/test_dtls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/api/test_dtls.c b/tests/api/test_dtls.c index a4a2603a1d..febee9dfaa 100644 --- a/tests/api/test_dtls.c +++ b/tests/api/test_dtls.c @@ -3070,7 +3070,7 @@ int test_dtls13_5_9_0_compat(void) ExpectNotNull(sess = wolfSSL_get1_session(ssl_c)); - /* Force a non-zero session ID — simulates a wolfSSL <=v5.9.0 client that + /* Force a non-zero session ID - simulates a wolfSSL <=v5.9.0 client that * mistakenly sends 32 bytes as legacy_session_id in DTLS 1.3. */ if (sess != NULL && sess->sessionIDSz == 0) { sess->sessionIDSz = ID_LEN; @@ -3114,7 +3114,7 @@ int test_dtls13_5_9_0_compat(void) ExpectIntEQ(test_ctx.c_buff[DTLS_RECORD_HEADER_SZ + DTLS_HANDSHAKE_HEADER_SZ + OPAQUE16_LEN + RAN_LEN], ID_LEN); - /* Complete the handshake — Finished MAC validates the transcript */ + /* Complete the handshake - Finished MAC validates the transcript */ ExpectIntEQ(test_memio_do_handshake(ssl_c, ssl_s, 10, NULL), 0); wolfSSL_free(ssl_c); ssl_c = NULL; @@ -3146,7 +3146,7 @@ int test_dtls13_5_9_0_compat(void) ExpectIntEQ(test_ctx.c_buff[DTLS_RECORD_HEADER_SZ + DTLS_HANDSHAKE_HEADER_SZ + OPAQUE16_LEN + RAN_LEN], ID_LEN); - /* Complete the handshake — Finished MAC validates RestartHandshakeHashWithCookie */ + /* Complete the handshake - Finished MAC validates RestartHandshakeHashWithCookie */ ExpectIntEQ(test_memio_do_handshake(ssl_c, ssl_s, 10, NULL), 0); wolfSSL_SESSION_free(sess);