From 865b21016f161d93f2c907973d8dba13b991b34c Mon Sep 17 00:00:00 2001 From: Mike Ounsworth Date: Mon, 22 Jul 2024 12:05:37 +1000 Subject: [PATCH] Making the python tolerant of multiple submissions of the same alg --- src/test_certs_r3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test_certs_r3.sh b/src/test_certs_r3.sh index f5cc832..7e4e882 100755 --- a/src/test_certs_r3.sh +++ b/src/test_certs_r3.sh @@ -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