aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utils.py
diff options
context:
space:
mode:
authorAlex Stapleton <alexs@prol.etari.at>2014-04-22 16:07:22 +0100
committerAlex Stapleton <alexs@prol.etari.at>2014-04-22 16:07:22 +0100
commit8a312c2ccc99351f1a05dc607a574669944ea4cd (patch)
tree57563ee8ee4e3f0ced7f7edfa32755928f2e9fd5 /tests/utils.py
parent9f1ece7cd28d7342e57eb57bd6f611851e1e099f (diff)
parent7ef2f8f6c8cd073ab612de78601a6249dce930f6 (diff)
downloadcryptography-8a312c2ccc99351f1a05dc607a574669944ea4cd.tar.gz
cryptography-8a312c2ccc99351f1a05dc607a574669944ea4cd.tar.bz2
cryptography-8a312c2ccc99351f1a05dc607a574669944ea4cd.zip
Merge pull request #952 from reaperhulk/fix-missing-coverage
Fix a bug/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