##// END OF EJS Templates
sslutil: Restore missing imports of socket and httplib to sslutil...
Stephen Thorne -
r14616:64dfbe57 default
parent child Browse files
Show More
@@ -18,6 +18,8 b' try:'
18 except ImportError:
18 except ImportError:
19 CERT_REQUIRED = 2
19 CERT_REQUIRED = 2
20
20
21 import socket, httplib
22
21 def ssl_wrap_socket(sock, key_file, cert_file,
23 def ssl_wrap_socket(sock, key_file, cert_file,
22 cert_reqs=CERT_REQUIRED, ca_certs=None):
24 cert_reqs=CERT_REQUIRED, ca_certs=None):
23 if ca_certs:
25 if ca_certs:
General Comments 0
You need to be logged in to leave comments. Login now