GitHub user MattG401 opened a pull request:

    https://github.com/apache/libcloud/pull/875

    Use sslv23 constant in newer versions of python

    ## Changes Title (replace this with a logical title for your changes)
    
    ### Description
    
    Replace this with the PR description (mention the changes you have made, why
    you have made them, provide some background and any references to the 
provider
    documentation if needed, etc.).
    
    For more information on contributing, please see 
[Contributing](http://libcloud.readthedocs.org/en/latest/development.html#contributing)
    section of our documentation.
    
    ### Status
    
    Replace this: describe the PR status. Examples:
    
    - work in progress
    - done, ready for review
    
    ### Checklist (tick everything that applies)
    
    - [ ] [Code 
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
 (required, can be done after the PR checks)
    - [ ] Documentation
    - [ ] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
    - [ ] 
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
 (required for bigger changes)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/libcloud 
use_sslv23_constant_in_newer_versions_of_python

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/libcloud/pull/875.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #875
    
----
commit 4b218afdac4d6bbde00d4a0089dfa914ef5bd575
Author: Tomaz Muraus <to...@tomaz.me>
Date:   2016-01-16T13:13:14Z

    Update SSL related code to use ssl.PROTOCOL_v23 constant on Python >= 2.7.9 
and
    Python >= 3.4 by default.
    
    In those versions SSL v3.0 is disabled by default so it's safe to use this
    constant and it results in the best compatibility since it will use TLS 
v1.0 /
    v1.1 / v1.2 based on the versions supported by the server.
    
    Also refactor exception wrapping functionality into a separate function.

commit 67b5131222ab72a583f203af69a9b0dd42876877
Author: Tomaz Muraus <to...@tomaz.me>
Date:   2016-01-16T13:31:06Z

    Add test cases for get_ssl_version function.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to