Skip to content

Commit

Permalink
type cast change)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruby Martin committed Jan 22, 2025
1 parent 20bb3cf commit 431b4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -90351,7 +90351,7 @@ static void test_wolfSSL_dtls_plaintext_client(WOLFSSL* ssl)
AssertIntEQ(send(fd, (MESSAGE_TYPE_CAST)ch, sizeof(ch), 0), sizeof(ch));
generateDTLSMsg(ch, sizeof(ch), 20, client_hello, 10000);
/* Server should ignore this datagram */
AssertIntEQ(send(fd, ch, sizeof(ch), 0), sizeof(ch));
AssertIntEQ(send(fd, (MESSAGE_TYPE_CAST)ch, sizeof(ch), 0), sizeof(ch));

AssertIntEQ(wolfSSL_write(ssl, msg, sizeof(msg)), sizeof(msg));
AssertIntGT(wolfSSL_read(ssl, reply, sizeof(reply)),0);
Expand Down

0 comments on commit 431b4e6

Please sign in to comment.