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:50:14 +0000 (15:50 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 75ba5c58c6b3b3326a6c3198100830afa120e7c3)

test/testssl

index b9b86b3b63bb3a36da5d55a568976ceb62b96f89..f41a60cdcdf18d2fd04cc5356e47024f0c3fb356 100644 (file)
@@ -120,11 +120,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