Fixes #73, thanks to Ruijun Luo for the report.
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -68,3 +68,4 @@ Thanks To
|
||||
* Alexey Borzenkov, for finding and fixing issues with Windows error detection (#66, #69), reducing dependencies in zeromq hub (#71)
|
||||
* Anonymous, finding and fixing error in websocket chat example (#70)
|
||||
* Edward George, finding and fixing an issue in the [e]poll hubs (#74)
|
||||
* Ruijun Luo, figuring out incorrect openssl import for wrap_ssl (#73)
|
||||
|
@@ -119,8 +119,8 @@ try:
|
||||
wrap_ssl_impl = ssl.wrap_socket
|
||||
except ImportError:
|
||||
# < 2.6, trying PyOpenSSL
|
||||
from eventlet.green.OpenSSL import SSL
|
||||
try:
|
||||
from eventlet.green.OpenSSL import SSL
|
||||
def wrap_ssl_impl(sock, keyfile=None, certfile=None, server_side=False,
|
||||
cert_reqs=None, ssl_version=None, ca_certs=None,
|
||||
do_handshake_on_connect=True,
|
||||
|
Reference in New Issue
Block a user