Skip to content

Commit

Permalink
Making the python tolerant of multiple submissions of the same alg
Browse files Browse the repository at this point in the history
  • Loading branch information
ounsworth committed Jul 22, 2024
1 parent d9ef1a6 commit fed6d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test_certs_r3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ test_ta () {
oid=${tafileBasename%_ta.pem} # remove the suffix "_ta.pem"

# some artifacts submit multiple copies of the same cert as .pem, .der, etc. Just skip the second one
if [[ $"alreadyTestedOIDs" == *"$oid"* ]]; then
if [[ $(expr match "$alreadyTestedOIDs" "*$oid*") != 0 ]]; then
printf "Warning: %s has been submitted multiple times by this provider. Skipping" $oid
return
fi
Expand Down

0 comments on commit fed6d8d

Please sign in to comment.