Fix bug with non-blocking I/O and cookies

This commit is contained in:
Manuel Pégourié-Gonnard 2014-09-29 17:47:33 +02:00 committed by Paul Bakker
parent f03651217c
commit 579950c2bb
3 changed files with 18 additions and 8 deletions

View file

@ -2046,6 +2046,16 @@ run_test "DTLS cookie: enabled, IPv6" \
-c "received hello verify request" \
-S "SSL - The requested feature is not available"
run_test "DTLS cookie: enabled, nbio" \
"$P_SRV dtls=1 nbio=2 debug_level=2" \
"$P_CLI dtls=1 nbio=2 debug_level=2" \
0 \
-s "cookie verification failed" \
-s "cookie verification passed" \
-S "cookie verification skipped" \
-c "received hello verify request" \
-S "SSL - The requested feature is not available"
# Tests for various cases of client authentication with DTLS
# (focused on handshake flows and message parsing)