diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-12-12 12:23:36 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-12-12 12:23:36 +0000 |
commit | 39be79c60ab8c5e2f1eec96b0c244e0e3d8155e7 (patch) | |
tree | b69c97a556dd7e1529b7d06015001e4708fee305 | |
parent | 88820d82d15f8e3ad92ed17dcb16454cb3ad760d (diff) |
Increase cipher suite test coverage by including all cipher suites that
use RSA authentication, rather than only those that use RSA key exchange.
-rw-r--r-- | regress/lib/libssl/ssl/testssl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/regress/lib/libssl/ssl/testssl b/regress/lib/libssl/ssl/testssl index 379ddfcc509..04f82a9da1d 100644 --- a/regress/lib/libssl/ssl/testssl +++ b/regress/lib/libssl/ssl/testssl @@ -77,7 +77,7 @@ $ssltest -bio_pair -server_auth -client_auth -app_verify $CA $extra || exit 1 echo "Testing ciphersuites" for protocol in SSLv3 TLSv1.2; do echo "Testing ciphersuites for $protocol" - for cipher in `$openssl ciphers "RSA+$protocol" | tr ':' ' '`; do + for cipher in `$openssl ciphers "$protocol+aRSA" | tr ':' ' '`; do echo "Testing $cipher" prot="" if [ $protocol = "SSLv3" ] ; then @@ -85,8 +85,8 @@ for protocol in SSLv3 TLSv1.2; do fi $ssltest -cipher $cipher $prot if [ $? -ne 0 ] ; then - echo "Failed $cipher" - exit 1 + echo "Failed $cipher" + exit 1 fi done done @@ -138,8 +138,8 @@ for protocol in SSLv3; do echo "Testing $cipher" $ssltest -cipher $cipher -dtls1 if [ $? -ne 0 ] ; then - echo "Failed $cipher" - exit 1 + echo "Failed $cipher" + exit 1 fi done done |