Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

xmltream.py: avoid using SSLv3 on unsupported systems. #470

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Oct 4, 2017

  1. xmltream.py: avoid using SSLv3 on unsupported systems.

    For many modern	systems, SSLv3 have been completely removed by
    upstream providers. In this case, the system openssl doesn't
    support	SSLv3, hence ssl.PROTOCOL_SSLv3	is no longer a valid
    attribute anymore.
    
    This commit checks whether the system supports SSLv3, avoid
    trying to call "ssl.PROTOCOL_SSLv3" if unsupported. A user-friendly
    notice is also written to the log, the documentation have been
    updated as well.
    
    Signed-off-by: Yifeng Li <tomli@tomli.me>
    biergaizi committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    0b29d8e View commit details
    Browse the repository at this point in the history