Issue 23345: test_ssl fails on OS X 10.10.2 with latest patch level of OpenSSL libs (original) (raw)

With the latest maintenance release of OS X 10.10 (10.10.2), the OpenSSL libs have reached a patch level that fails the sanity test in test_ssl:

test_ssl: testing with 'OpenSSL 0.9.8zc 15 Oct 2014' (0, 9, 8, 28, 15) under Mac ('10.10.2', ('', '', ''), 'x86_64') HAS_SNI = True OP_ALL = 0x 7ff [...]

FAIL: test_openssl_version (test.test_ssl.BasicSocketTests)

Traceback (most recent call last): File "/py/dev/3x/source/Lib/test/test_ssl.py", line 309, in test_openssl_version self.assertLessEqual(patch, 26) AssertionError: 28 not less than or equal to 26

Is there anything special about 26 or can the value just be bumped?

Yep, 0.9.8 is the newest and presumably last major of version of OpenSSL in OS X. OpenSSL has been officially deprecated by Apple in OS X since OS X 10.7; it's only there for third-party products shipped by Apple in OS X, like Python. Their own apps use Apple's own frameworks like SecTransform and CommonCrypto. (See, for example, http://rentzsch.tumblr.com/post/33696323211/wherein-i-write-apples-technote-about-openssl-on) Apple also ships 0.9.7 shared libs in 10.10 for really old applications.