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 837c12d commit a0a5adb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pqc_report_writer_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ def main():

if len(relevant_avrs) > 1:
print(f'Multiple results for {alg_oid}: {generator}', file=sys.stderr)
continue
relevant_avr = relevant_avrs[0]

if len(relevant_avrs) == 0:
else if len(relevant_avrs) == 0:
# synthesize a result
relevant_avr = AlgorithmVerificationResult(generator, verifier, alg_oid, None)
else:
Expand Down

0 comments on commit a0a5adb

Please sign in to comment.