commit | 37306a6fb52f61717a9abad276c62c8200c8ad02 | [log] [tgz] |
---|---|---|
author | Jean-Paul Calderone <exarkun@divmod.com> | Sat Aug 28 15:09:24 2010 -0400 |
committer | Jean-Paul Calderone <exarkun@divmod.com> | Sat Aug 28 15:09:24 2010 -0400 |
tree | 766e86868b9706cd251f1b7f51b4cf17109c3e93 | |
parent | e0d7936c734647a78502474553aa41c55fbd79dc [diff] [blame] |
The hash should always be positive.
diff --git a/OpenSSL/test/test_crypto.py b/OpenSSL/test/test_crypto.py index 2ea096b..02b77a7 100644 --- a/OpenSSL/test/test_crypto.py +++ b/OpenSSL/test/test_crypto.py
@@ -1306,7 +1306,7 @@ name. """ cert = load_certificate(FILETYPE_PEM, self.pemData) - self.assertEquals(cert.subject_name_hash(), -944919422L) + self.assertEquals(cert.subject_name_hash(), 3350047874)