• Christian Heimes's avatar
    bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes (#5663) · 05d9fe32
    Christian Heimes yazdı
    * bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes
    
    Misc fixes and workarounds for compatibility with OpenSSL 1.1.1-pre1 and
    TLS 1.3 support. With OpenSSL 1.1.1, Python negotiates TLS 1.3 by
    default. Some test cases only apply to TLS 1.2. Other tests currently
    fail because the threaded or async test servers stop after failure.
    
    I'm going to address these issues when OpenSSL 1.1.1 reaches beta.
    
    OpenSSL 1.1.1 has added a new option OP_ENABLE_MIDDLEBOX_COMPAT for TLS
    1.3. The feature is enabled by default for maximum compatibility with
    broken middle boxes. Users should be able to disable the hack and CPython's test suite needs
    it to verify default options.
    Signed-off-by: 's avatarChristian Heimes <christian@python.org>
    05d9fe32
test_ftplib.py 38.3 KB