Skip to content

Commit e6fa789

Browse files
committed
test_dtls: remove non-ASCII chars
1 parent 7592b48 commit e6fa789

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/api/test_dtls.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3070,7 +3070,7 @@ int test_dtls13_5_9_0_compat(void)
30703070

30713071
ExpectNotNull(sess = wolfSSL_get1_session(ssl_c));
30723072

3073-
/* Force a non-zero session ID simulates a wolfSSL <=v5.9.0 client that
3073+
/* Force a non-zero session ID - simulates a wolfSSL <=v5.9.0 client that
30743074
* mistakenly sends 32 bytes as legacy_session_id in DTLS 1.3. */
30753075
if (sess != NULL && sess->sessionIDSz == 0) {
30763076
sess->sessionIDSz = ID_LEN;
@@ -3114,7 +3114,7 @@ int test_dtls13_5_9_0_compat(void)
31143114
ExpectIntEQ(test_ctx.c_buff[DTLS_RECORD_HEADER_SZ +
31153115
DTLS_HANDSHAKE_HEADER_SZ + OPAQUE16_LEN + RAN_LEN], ID_LEN);
31163116

3117-
/* Complete the handshake Finished MAC validates the transcript */
3117+
/* Complete the handshake - Finished MAC validates the transcript */
31183118
ExpectIntEQ(test_memio_do_handshake(ssl_c, ssl_s, 10, NULL), 0);
31193119

31203120
wolfSSL_free(ssl_c); ssl_c = NULL;
@@ -3146,7 +3146,7 @@ int test_dtls13_5_9_0_compat(void)
31463146
ExpectIntEQ(test_ctx.c_buff[DTLS_RECORD_HEADER_SZ +
31473147
DTLS_HANDSHAKE_HEADER_SZ + OPAQUE16_LEN + RAN_LEN], ID_LEN);
31483148

3149-
/* Complete the handshake Finished MAC validates RestartHandshakeHashWithCookie */
3149+
/* Complete the handshake - Finished MAC validates RestartHandshakeHashWithCookie */
31503150
ExpectIntEQ(test_memio_do_handshake(ssl_c, ssl_s, 10, NULL), 0);
31513151

31523152
wolfSSL_SESSION_free(sess);

0 commit comments

Comments
 (0)