Skip to content

Commit

Permalink
Fix pylint part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
securitykernel committed Dec 11, 2023
1 parent 10c74f6 commit 783d8e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scripts/bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,13 +419,13 @@ def main(args=None):
if len(args) > 1:
algos = args[1:]
for algo in algos:
if algo in EVP_MAP.keys():
if algo in EVP_MAP:
result = bench_algo(openssl, botan, algo)
print(result.result_string())
elif algo in SIGNATURE_EVP_MAP.keys():
elif algo in SIGNATURE_EVP_MAP:
result = bench_signature_algo(openssl, botan, algo)
print(result.result_string())
elif algo in KEY_AGREEMENT_EVP_MAP.keys():
elif algo in KEY_AGREEMENT_EVP_MAP:
result = bench_key_agreement_algo(openssl, botan, algo)
print(result.result_string())
else:
Expand Down

0 comments on commit 783d8e7

Please sign in to comment.