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 3afbc61 commit d842aa2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test_certs_r3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ test_ta () {
return
fi

printf "DEBUG: searching for %s in %s\n" $oid $alreadyTestedOIDs

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

Expand Down

0 comments on commit d842aa2

Please sign in to comment.