[issue13218] test_ssl failures on Ubuntu 11.10

STINNER Victor report at bugs.python.org
Wed Oct 19 16:09:32 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> ssl.OPENSSL_VERSION_INFO is still (0, 9, 8, 15, 15)

After a recompilation, I get (1, 0, 0, 5, 15) and ssl doesn't has PROTOCOL_SSLv2. test_ssl is failing with:


======================================================================
FAIL: test_protocol_sslv3 (test.test_ssl.ThreadedTests)
Connecting to an SSLv3 server with various client options
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vstinner/prog/python/default/Lib/test/test_ssl.py", line 1415, in test_protocol_sslv3
    try_protocol_combo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv23, False)
  File "/home/vstinner/prog/python/default/Lib/test/test_ssl.py", line 1232, in try_protocol_combo
    ssl.get_protocol_name(server_protocol)))
AssertionError: Client protocol SSLv23 succeeded with server protocol SSLv3!

======================================================================
FAIL: test_protocol_tlsv1 (test.test_ssl.ThreadedTests)
Connecting to a TLSv1 server with various client options
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vstinner/prog/python/default/Lib/test/test_ssl.py", line 1433, in test_protocol_tlsv1
    try_protocol_combo(ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv23, False)
  File "/home/vstinner/prog/python/default/Lib/test/test_ssl.py", line 1232, in try_protocol_combo
    ssl.get_protocol_name(server_protocol)))
AssertionError: Client protocol SSLv23 succeeded with server protocol TLSv1!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13218>
_______________________________________


More information about the Python-bugs-list mailing list