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 4b13f4c commit 865b210
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 [[ $"alreadyTestedOIDs" =~ .*"$oid".* ]]; then
printf "Warning: %s has been submitted multiple times by this provider. Skipping" $oid
return
fi
Expand Down

0 comments on commit 865b210

Please sign in to comment.