summaryrefslogtreecommitdiffstats
path: root/test/dtlstest.c
AgeCommit message (Collapse)Author
2016-08-22Choose a ciphersuite for testing that won't be affected by "no-*" optionsMatt Caswell
The previous ciphersuite broke in no-ec builds. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-08-19Fix some clang warningsMatt Caswell
Clang was complaining about some unused functions. Moving the stack declaration to the header seems to sort it. Also the certstatus variable in dtlstest needed to be declared static. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-08-19Add DTLS replay protection testMatt Caswell
Injects a record from epoch 1 during epoch 0 handshake, with a record sequence number in the future, to test that the record replay protection feature works as expected. This is described more fully in the next commit. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-08-19Add a DTLS unprocesed records testMatt Caswell
Add a test to inject a record from the next epoch during the handshake and make sure it doesn't get processed immediately. Reviewed-by: Richard Levitte <levitte@openssl.org>