Skip to content

Commit 4cb0520

Browse files
alexhynek
authored andcommitted
Update test for us not supporting 0.9.8 (#812)
1 parent 80dcf38 commit 4cb0520

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_crypto.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1923,10 +1923,8 @@ def test_subject_name_hash(self):
19231923
subject name.
19241924
"""
19251925
cert = load_certificate(FILETYPE_PEM, self.pemData)
1926-
assert cert.subject_name_hash() in [
1927-
3350047874, # OpenSSL 0.9.8, MD5
1928-
3278919224, # OpenSSL 1.0.0, SHA1
1929-
]
1926+
# SHA1
1927+
assert cert.subject_name_hash() == 3278919224
19301928

19311929
def test_get_signature_algorithm(self):
19321930
"""

0 commit comments

Comments
 (0)