aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utils.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-22 08:37:58 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-22 08:37:58 -0500
commit7ef2f8f6c8cd073ab612de78601a6249dce930f6 (patch)
tree28caa1bcd6975020e63e91765e47fcc34ff43760 /tests/utils.py
parent7bde89fac2473b54d6b4d1082c3f62f0cb07985f (diff)
downloadcryptography-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.py4
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