Skip to content

Commit 7132948

Browse files
committed
debugging
1 parent 6dd980e commit 7132948

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
@@ -57,10 +57,10 @@ test_ta () {
5757
printf "\nTesting %s\n" $tafile >> $logfile
5858

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

0 commit comments

Comments
 (0)