diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2019-02-02 11:06:41 -0500 |
|---|---|---|
| committer | Hynek Schlawack <hs@ox.cx> | 2019-02-02 17:06:41 +0100 |
| commit | 4cb052019c9bd5640b7fcb58551f52ab87e01253 (patch) | |
| tree | 466262761a82c6530ef3ffdd3d1d8a4596e891fc | |
| parent | 80dcf3895b8bc12bdbb8bb612f2a280a7f0abd4e (diff) | |
| download | pyopenssl-git-4cb052019c9bd5640b7fcb58551f52ab87e01253.tar.gz | |
Update test for us not supporting 0.9.8 (#812)
| -rw-r--r-- | tests/test_crypto.py | 6 |
1 files 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): """ |
