New submission from Jeff Ramnani: The unittest, test_ssl.test_default_ecdh_curve, is failing on OS X (and FreeBSD 9).
The test fails with the error message: """ ====================================================================== ERROR: test_default_ecdh_curve (test.test_ssl.ThreadedTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jramnani/code/cpython/Lib/test/test_ssl.py", line 2596, in test_default_ecdh_curve context.set_ciphers("ECDH") ssl.SSLError: ('No cipher can be selected.',) ---------------------------------------------------------------------- """ It looks to be related to issue, #21015 (changesets 3b81d1b3f9d1 and 869277faf3dc). OS Info: * Version: OS X 10.9.2 * OpenSSL version: OpenSSL 0.9.8y 5 Feb 2013 The problem looks like OpenSSL on OS X is reporting that it has ECDH when it does not. Python 3.5.0a0 (default:8cf384852680, Apr 14 2014, 13:32:46) [GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.38)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import ssl >>> ssl.HAS_ECDH True ---------- components: Tests messages: 216138 nosy: jramnani priority: normal severity: normal status: open title: Test failure for test_ssl.test_default_ecdh_curve on OS X versions: Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21218> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com