Skip to content

Commit

Permalink
papyon: force sslv3 and prevent issues with newer openssl version.
Browse files Browse the repository at this point in the history
Fixes #1099, thanks jeffska for the patch.
If this breaks anyone's install, we'll revert it (or check against ssl version)
  • Loading branch information
c10ud committed Mar 28, 2012
1 parent 8b795c1 commit bce6481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emesene/e3/papylib/papyon/papyon/gnet/io/ssl_socket.py
Expand Up @@ -47,7 +47,7 @@ def _pre_open(self, sock=None):
sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)
except AttributeError:
pass
context = OpenSSL.Context(OpenSSL.SSLv23_METHOD)
context = OpenSSL.Context(OpenSSL.SSLv3_METHOD)
ssl_sock = OpenSSL.Connection(context, sock)
GIOChannelClient._pre_open(self, ssl_sock)

Expand Down

0 comments on commit bce6481

Please sign in to comment.