summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2021-10-27 09:00:38 +0800
committerGitHub <noreply@github.com>2021-10-26 21:00:38 -0400
commitd25ff9da95f9e05f15fce65b55227b79709cc221 (patch)
treecef0f26d211fb28dca849c3a6c81e72c0acdccde /tests
parent3d3c293402c836d15d1e332924607771d57569f6 (diff)
downloadcryptography-d25ff9da95f9e05f15fce65b55227b79709cc221.tar.gz
add two additional DSA signature algorithm oids & test dsa_with_sha224 (#6483)
Diffstat (limited to 'tests')
-rw-r--r--tests/x509/test_x509.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/x509/test_x509.py b/tests/x509/test_x509.py
index 5dc91f190..f315f547d 100644
--- a/tests/x509/test_x509.py
+++ b/tests/x509/test_x509.py
@@ -2586,6 +2586,7 @@ class TestCertificateBuilder(object):
("hashalg", "hashalg_oid"),
[
(hashes.SHA1, x509.SignatureAlgorithmOID.DSA_WITH_SHA1),
+ (hashes.SHA224, x509.SignatureAlgorithmOID.DSA_WITH_SHA224),
(hashes.SHA256, x509.SignatureAlgorithmOID.DSA_WITH_SHA256),
],
)