Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL fixes for python 2.7.9 #558

Closed
wants to merge 1 commit into from
Closed

Conversation

ml31415
Copy link

@ml31415 ml31415 commented May 18, 2015

This fixes #477 based on Eugeny@2c5302b and additionally also fixes the socket connect method, which seemd to be left out there. I'd suggest to either take this request or adjust the other patch accordingly, before merging this into the new release.

@jamadden
Copy link
Member

@ml31415 The code currently merged into the 1.0.2 and master branches went in a different direction than Eugeny@2c5302b. Essentially, The ssl module from 2.7.9 was backported into _sslgte279.py and is used only under 2.7.9+. _ssl2 is renamed from ssl.py and is otherwise unchanged; it is used on <= 2.7.8 (including 2.6 and 2.5). This increases compatibility with the running version of Python by providing the full ssl interface of the natively running version.

@ml31415
Copy link
Author

ml31415 commented May 19, 2015

I'm totally fine with closing this pull request in this case. I just wanted to make sure, no erroneous calls to sslwrap remain in the code.

@ml31415 ml31415 closed this May 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ssl broken for python > 2.7.9
2 participants