Skip to content

Commit

Permalink
Update test_certs_r3.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ounsworth authored Jul 21, 2024
1 parent 6baf1f7 commit c5ac494
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test_certs_r3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ test_ta () {
printf "\nTesting %s\n" $tafile

# openssl always exits with 0, so we can't use exit status to tell if the cert was valid :/
ossl_output=$(openssl verify -check_ss_sig -verbose -CAfile $tafile $tafile | tee ${outputdir}/oqs.log)
ossl_output=$(openssl verify -check_ss_sig -verbose -CAfile $tafile $tafile 2>&1)
ossl_status=$?

# log it to file and to stdout
# echo "$ossl_output" >> ${outputdir}/oqs.log
# echo "$ossl_output"
echo "$ossl_output" >> ${outputdir}/oqs.log
echo "$ossl_output"


tafileBasename=$(basename $tafile)
Expand Down

0 comments on commit c5ac494

Please sign in to comment.