commit | 4cb052019c9bd5640b7fcb58551f52ab87e01253 | [log] [tgz] |
---|---|---|
author | Alex Gaynor <alex.gaynor@gmail.com> | Sat Feb 02 11:06:41 2019 -0500 |
committer | Hynek Schlawack <hs@ox.cx> | Sat Feb 02 17:06:41 2019 +0100 |
tree | 466262761a82c6530ef3ffdd3d1d8a4596e891fc | |
parent | 80dcf3895b8bc12bdbb8bb612f2a280a7f0abd4e [diff] |
Update test for us not supporting 0.9.8 (#812)
diff --git a/tests/test_crypto.py b/tests/test_crypto.py index c938021..fcce664 100644 --- a/tests/test_crypto.py +++ b/tests/test_crypto.py
@@ -1923,10 +1923,8 @@ subject name. """ cert = load_certificate(FILETYPE_PEM, self.pemData) - assert cert.subject_name_hash() in [ - 3350047874, # OpenSSL 0.9.8, MD5 - 3278919224, # OpenSSL 1.0.0, SHA1 - ] + # SHA1 + assert cert.subject_name_hash() == 3278919224 def test_get_signature_algorithm(self): """