mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
test: fix test AEAD limit server set fds as nonblock
This commit is contained in:
@ -61308,6 +61308,7 @@ static void test_AEAD_limit_server(WOLFSSL* ssl)
|
||||
XMEMSET(&delay, 0, sizeof(delay));
|
||||
delay.tv_nsec = 100000000; /* wait 0.1 seconds */
|
||||
tcp_set_nonblocking(&fd); /* So that read doesn't block */
|
||||
wolfSSL_dtls_set_using_nonblock(ssl, 1);
|
||||
test_AEAD_get_limits(ssl, NULL, NULL, &sendLimit);
|
||||
while (!test_AEAD_done && ret > 0) {
|
||||
counter++;
|
||||
|
Reference in New Issue
Block a user