> > There's one test that fails, I haven't investigated it. > > > > ====================================================================== > > FAIL: test_digest (__main__.X509Tests) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File > > "/usr/ports/pobj/py-openssl-0.13/pyOpenSSL-0.13/OpenSSL/test/test_crypto.py", > > line 1311, in test_digest > > b("A8:EB:07:F8:53:25:0A:F2:56:05:C5:A5:C4:C4:C7:15")) > > AssertionError: 'C1:B5:90:A4:41:11:C8:30:BF:D4:AA:78:13:46:66:59' != > > 'A8:EB:07:F8:53:25:0A:F2:56:05:C5:A5:C4:C4:C7:15' > > > > ---------------------------------------------------------------------- > > Ran 162 tests in 0.875s > > > > FAILED (failures=1) > > Seems this is new and considering it's x509 it may well be something > we broke so somebody should look at it. If I run this on a machine with > openssl from just after the heartbleed fix commit, all tests succeed.
This is caused by this fix in OpenSSL: http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=5de18d5d0d1d760665d7dd72ffa4bc811400ab18 which causes an empty X.509 certificate to no longer have the same binary representation, hence not the same md5. The test in py-openssl needs to be updated.