summaryrefslogtreecommitdiffstats
path: root/test/testssl
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-06-13 17:18:47 -0400
committerRich Salz <rsalz@openssl.org>2015-06-22 15:50:02 -0400
commit57bd71b45b39d4eedece0b0289c3a8173280e540 (patch)
tree8143143cf04f4c6f3f8ab03b80022735918a67ed /test/testssl
parent44754511646614b0be4c53ac9f1893f5eca3ed64 (diff)
RT3907: avoid "local" in testssl script
Reviewed-by: Richard Levitte <levitte@openssl.org> (cherry picked from commit 75ba5c58c6b3b3326a6c3198100830afa120e7c3)
Diffstat (limited to 'test/testssl')
-rw-r--r--test/testssl5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/testssl b/test/testssl
index ddebf08534..699ce148b2 100644
--- a/test/testssl
+++ b/test/testssl
@@ -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