RT3907: avoid "local" in testssl script

Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 75ba5c58c6)
This commit is contained in:
Rich Salz 2015-06-13 17:18:47 -04:00 committed by Rich Salz
parent 4475451164
commit 57bd71b45b

View file

@ -146,11 +146,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