diff options
author | Matt Caswell <matt@openssl.org> | 2015-03-03 16:08:58 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-03-20 12:09:24 +0000 |
commit | b0b723287761ae1b267d6935dc28eb83b6d31d22 (patch) | |
tree | b2f8b352578f35150904f988e0493617d82453e6 /test | |
parent | ece8574ae6d2b3a06bd13e6142ab9f3c555c890f (diff) | |
download | openssl-new-b0b723287761ae1b267d6935dc28eb83b6d31d22.tar.gz |
Add DTLS tests to make test
Updated test/testssl script to include the new DTLS capability in ssltest.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
(cherry picked from commit 3c381e54233be3d0dcbce7cc853c4767d979fe90)
Diffstat (limited to 'test')
-rw-r--r-- | test/testssl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/testssl b/test/testssl index e3b342bfd4..64e22b96ce 100644 --- a/test/testssl +++ b/test/testssl @@ -101,6 +101,30 @@ $ssltest -bio_pair -ssl3 -server_auth -client_auth $CA $extra || exit 1 echo test sslv2/sslv3 via BIO pair $ssltest $extra || exit 1 +echo test dtlsv1 +$ssltest -dtls1 $extra || exit 1 + +echo test dtlsv1 with server authentication +$ssltest -dtls1 -server_auth $CA $extra || exit 1 + +echo test dtlsv1 with client authentication +$ssltest -dtls1 -client_auth $CA $extra || exit 1 + +echo test dtlsv1 with both client and server authentication +$ssltest -dtls1 -server_auth -client_auth $CA $extra || exit 1 + +echo test dtlsv1.2 +$ssltest -dtls12 $extra || exit 1 + +echo test dtlsv1.2 with server authentication +$ssltest -dtls12 -server_auth $CA $extra || exit 1 + +echo test dtlsv1.2 with client authentication +$ssltest -dtls12 -client_auth $CA $extra || exit 1 + +echo test dtlsv1.2 with both client and server authentication +$ssltest -dtls12 -server_auth -client_auth $CA $extra || exit 1 + if [ $dsa_cert = NO ]; then echo 'test sslv2/sslv3 w/o (EC)DHE via BIO pair' $ssltest -bio_pair -no_dhe -no_ecdhe $extra || exit 1 |