Add tests for DTLSv1_listen
authorMatt Caswell <matt@openssl.org>
Thu, 21 Jan 2016 12:22:58 +0000 (12:22 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 5 Feb 2016 20:47:36 +0000 (20:47 +0000)
commitce0865d8dcf4ed088a9e9ae3aa2310b7bd8c295e
tree8fb23cc3932a033d64e94b13e4ec991cb1fb6b57
parent4b1043ef1b54b0cf27d00cff9ff9a63f2c523e63
Add tests for DTLSv1_listen

Adds a set of tests for the newly rewritten DTLSv1_listen function.
The test pokes various packets at the function and then checks
the return value and the data written out to ensure it is what we
would have expected.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
ssl/d1_lib.c
test/Makefile.in
test/dtlsv1listentest.c [new file with mode: 0644]
test/recipes/80-test_dtlsv1listen.t [new file with mode: 0644]