Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ounsworth committed Nov 2, 2024
1 parent 6dd980e commit 7132948
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test_certs_r4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ $# -lt 1 ]; then
fi

verifier=$1
if [ $verifier != "bc" ] && [ $verifier != "oqs"]; then
if [[ $verifier != "bc" ]] && [[ $verifier != "oqs"]]; then
echo "ERROR: verifier \"$verifier\" not supported"
exit -1
fi
Expand Down Expand Up @@ -57,10 +57,10 @@ test_ta () {
printf "\nTesting %s\n" $tafile >> $logfile

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

0 comments on commit 7132948

Please sign in to comment.