diff options
author | Brian Carlstrom <bdc@google.com> | 2013-02-11 09:54:43 -0800 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2013-02-11 09:54:43 -0800 |
commit | eeffacea337ec6a275e4c496acd12ca67a244533 (patch) | |
tree | 67aec392266b12082ace006f7297f336d5ffcf02 /android.testssl | |
parent | d8b571b2dff2347770a7e8e5f9ea031d367dff52 (diff) | |
download | replicant_openssl-eeffacea337ec6a275e4c496acd12ca67a244533.zip replicant_openssl-eeffacea337ec6a275e4c496acd12ca67a244533.tar.gz replicant_openssl-eeffacea337ec6a275e4c496acd12ca67a244533.tar.bz2 |
openssl-1.0.1e upgrade
Change-Id: I4520a7e044b1c6a1b9d09b365bc18b178826131e
Diffstat (limited to 'android.testssl')
-rwxr-xr-x | android.testssl/testssl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/android.testssl/testssl b/android.testssl/testssl index 2eda40c..5ff4860 100755 --- a/android.testssl/testssl +++ b/android.testssl/testssl @@ -122,6 +122,23 @@ $ssltest -bio_pair -server_auth -client_auth $CA $extra || exit 1 echo test sslv2/sslv3 with both client and server authentication via BIO pair and app verify $ssltest -bio_pair -server_auth -client_auth -app_verify $CA $extra || exit 1 +echo "Testing ciphersuites" +for protocol in TLSv1.2 SSLv3; do + echo "Testing ciphersuites for $protocol" + for cipher in `adb shell /system/bin/openssl ciphers "RSA+$protocol" | tr ':' ' '`; do + echo "Testing $cipher" + prot="" + if [ $protocol = "SSLv3" ] ; then + prot="-ssl3" + fi + $ssltest -cipher $cipher $prot + if [ $? -ne 0 ] ; then + echo "Failed $cipher" + exit 1 + fi + done +done + ############################################################################# if [ `adb shell /system/bin/openssl no-dh` = no-dh ]; then |