diff --git a/bin/tests/system/testcrypto.sh b/bin/tests/system/testcrypto.sh index 72237777d9..2be22f3652 100755 --- a/bin/tests/system/testcrypto.sh +++ b/bin/tests/system/testcrypto.sh @@ -11,22 +11,27 @@ # See the COPYRIGHT file distributed with this work for additional # information regarding copyright ownership. +prog=$0 +args="" +quiet=0 +msg="cryptography" + if test -z "$KEYGEN"; then . ../conf.sh alg="-a $DEFAULT_ALGORITHM -b $DEFAULT_BITS" else alg="" + quiet=1 + args="-q" fi -prog=$0 -args="" -quiet=0 -msg="cryptography" while test "$#" -gt 0; do case $1 in -q) - args="$args -q" - quiet=1 + if test $quiet -eq 0; then + args="$args -q" + quiet=1 + fi ;; rsa|RSA|rsasha1|RSASHA1) alg="-a RSASHA1"