From 7ef2f8f6c8cd073ab612de78601a6249dce930f6 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 22 Apr 2014 08:37:58 -0500 Subject: fix a coverage miss in the dsa sig vector loader --- tests/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/utils.py') diff --git a/tests/utils.py b/tests/utils.py index 479e1b84..60b6f5a2 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -454,10 +454,10 @@ def load_fips_dsa_sig_vectors(vector_data): if sha_match: digest_algorithm = "SHA-{0}".format(sha_match.group("sha")) - elif line.startswith("[mod = L=2048, N=224"): + if line.startswith("[mod = L=2048, N=224"): reading_key_data = False continue - elif line.startswith("[mod = L=2048, N=256, SHA-1"): + elif line.startswith("[mod = L=2048, N=256"): reading_key_data = True continue -- cgit v1.2.3