From 4cb052019c9bd5640b7fcb58551f52ab87e01253 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 2 Feb 2019 11:06:41 -0500 Subject: Update test for us not supporting 0.9.8 (#812) --- tests/test_crypto.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 @@ WpOdIpB8KksUTCzV591Nr1wd 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): """ -- cgit v1.2.1