diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-22 08:37:58 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-22 08:37:58 -0500 |
commit | 7ef2f8f6c8cd073ab612de78601a6249dce930f6 (patch) | |
tree | 28caa1bcd6975020e63e91765e47fcc34ff43760 /tests/utils.py | |
parent | 7bde89fac2473b54d6b4d1082c3f62f0cb07985f (diff) | |
download | cryptography-7ef2f8f6c8cd073ab612de78601a6249dce930f6.tar.gz cryptography-7ef2f8f6c8cd073ab612de78601a6249dce930f6.tar.bz2 cryptography-7ef2f8f6c8cd073ab612de78601a6249dce930f6.zip |
fix a coverage miss in the dsa sig vector loader
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |