Skip to content

Commit 3e4b95e

Browse files
committed
test: fix test AEAD limit server set fds as nonblock
1 parent bdd4535 commit 3e4b95e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61308,6 +61308,7 @@ static void test_AEAD_limit_server(WOLFSSL* ssl)
6130861308
XMEMSET(&delay, 0, sizeof(delay));
6130961309
delay.tv_nsec = 100000000; /* wait 0.1 seconds */
6131061310
tcp_set_nonblocking(&fd); /* So that read doesn't block */
61311+
wolfSSL_dtls_set_using_nonblock(ssl, 1);
6131161312
test_AEAD_get_limits(ssl, NULL, NULL, &sendLimit);
6131261313
while (!test_AEAD_done && ret > 0) {
6131361314
counter++;

0 commit comments

Comments
 (0)