Skip to content

Commit 4b25fe3

Browse files
committed
debugging
1 parent 46b1f76 commit 4b25fe3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test_certs_r4.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [ $# -lt 1 ]; then
66
fi
77

88
verifier=$1
9-
if [ $verifier != "bc" ] && [ $verifier != "oqs" ]; then
9+
if [ "$verifier" != "bc" ] && [ "$verifier" != "oqs" ]; then
1010
echo "ERROR: verifier \"$verifier\" not supported"
1111
exit -1
1212
fi
@@ -58,10 +58,10 @@ test_ta () {
5858
printf "\nTesting %s\n" $tafile >> $logfile
5959

6060
# The actual openssl command that is the heart of this script
61-
if [ $verifier -eq "bc" ]; then
61+
if [ "$verifier" = "bc" ]; then
6262
output=$(verify_r3.sh $(pwd)/$tafile 2>&1)
6363
status=$?
64-
elif [ $verifier -eq "oqs" ]; then
64+
elif [ "$verifier" = "oqs" ]; then
6565
output=$(openssl verify -check_ss_sig -verbose -CAfile $tafile $tafile 2>&1)
6666
status=$?
6767
else

0 commit comments

Comments
 (0)