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 3835223 commit 48976f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test_certs_r3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ for providerdir in $(ls -d $inputdir/*/); do
# process certs
zip=${providerdir}$certszipr3
unzipdir=${providerdir}"artifacts_certs_r3"
printf "Unziping %s to 5s\n" $zip $unzipdir
printf "Unziping %s to %s\n" $zip $unzipdir
unzip -o $zip -d $unzipdir


Expand All @@ -69,7 +69,7 @@ for providerdir in $(ls -d $inputdir/*/); do

alreadyTestedOIDs="" # for a guard to skip testing the same cert multiple times
# test each TA file
for tafile in $(find $unzipdir \( -iname "*_ta.pem" -o -iname "*_ta.der" -o -iname "*_ta.der.pem"); do
for tafile in $(find $unzipdir \( -iname "*_ta.pem" -o -iname "*_ta.der" -o -iname "*_ta.der.pem" \); do
test_ta "$tafile" "$resultsfile"
done
done
Expand Down

0 comments on commit 48976f7

Please sign in to comment.