diff options
author | ben <ben> | 2010-09-05 16:35:10 +0000 |
---|---|---|
committer | ben <ben> | 2010-09-05 16:35:10 +0000 |
commit | 524a240c1afdbe10e617395fe199512a420d9b67 (patch) | |
tree | fe41f52a2a786d088e9b3fda7ffb3e7c17e6ac6c /test/testssl | |
parent | ff9ac1209045c3fc9b1b810948e3f74498af9738 (diff) | |
download | openssl-524a240c1afdbe10e617395fe199512a420d9b67.tar.gz |
NPN tests.
Diffstat (limited to 'test/testssl')
-rw-r--r-- | test/testssl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/testssl b/test/testssl index f9d7c5d65..ad32bccdc 100644 --- a/test/testssl +++ b/test/testssl @@ -148,4 +148,15 @@ $ssltest -tls1 -cipher PSK -psk abc123 $extra || exit 1 echo test tls1 with PSK via BIO pair $ssltest -bio_pair -tls1 -cipher PSK -psk abc123 $extra || exit 1 +############################################################################# +# Next Protocol Negotiation Tests + +$ssltest -bio_pair -tls1 -npn_client || exit 1 +$ssltest -bio_pair -tls1 -npn_server || exit 1 +$ssltest -bio_pair -tls1 -npn_server_reject || exit 1 +$ssltest -bio_pair -tls1 -npn_client -npn_server_reject || exit 1 +$ssltest -bio_pair -tls1 -npn_client -npn_server || exit 1 +$ssltest -bio_pair -tls1 -npn_client -npn_server -num 2 || exit 1 +$ssltest -bio_pair -tls1 -npn_client -npn_server -num 2 -reuse || exit 1 + exit 0 |