RT3907: avoid "local" in testssl script
authorRich Salz <rsalz@akamai.com>
Sat, 13 Jun 2015 21:18:47 +0000 (17:18 -0400)
committerRich Salz <rsalz@openssl.org>
Mon, 22 Jun 2015 19:49:33 +0000 (15:49 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
test/testssl

index 7e834a7a36bbeca36dff84545ef4c4a77cb34dc5..cb8e56a3b132da12584d8568a8f93de4dbca10ad 100644 (file)
@@ -118,11 +118,10 @@ echo test sslv2/sslv3 with both client and server authentication via BIO pair an
 $ssltest -bio_pair -server_auth -client_auth -app_verify $CA $extra || exit 1
 
 test_cipher() {
-  local cipher=$1
-  local protocol=$2
+    _cipher=$1
     echo "Testing $cipher"
     prot=""
-    if [ $protocol = "SSLv3" ] ; then
+    if [ $2 = "SSLv3" ] ; then
       prot="-ssl3"
     fi
     $ssltest -cipher $cipher $prot