We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dd980e commit 7132948Copy full SHA for 7132948
src/test_certs_r4.sh
@@ -6,7 +6,7 @@ if [ $# -lt 1 ]; then
6
fi
7
8
verifier=$1
9
-if [ $verifier != "bc" ] && [ $verifier != "oqs"]; then
+if [[ $verifier != "bc" ]] && [[ $verifier != "oqs"]]; then
10
echo "ERROR: verifier \"$verifier\" not supported"
11
exit -1
12
@@ -57,10 +57,10 @@ test_ta () {
57
printf "\nTesting %s\n" $tafile >> $logfile
58
59
# The actual openssl command that is the heart of this script
60
- if [ $verifier == "bc" ]; then
+ if [[ $verifier == "bc" ]]; then
61
output=$(verify_r3.sh $(pwd)/$tafile 2>&1)
62
status=$?
63
- elif [ $verifier == "oqs" ]; then
+ elif [[ $verifier == "oqs" ]]; then
64
output=$(openssl verify -check_ss_sig -verbose -CAfile $tafile $tafile 2>&1)
65
66
else
0 commit comments