##// END OF EJS Templates
hgweb: let HTTPS serve use more compatible and less secure encryption...
Mads Kiilerich -
r12797:076bbbf0 stable
parent child Browse files
Show More
@@ -227,7 +227,7 b' class _httprequesthandlerssl(_httpreques'
227 except ImportError:
227 except ImportError:
228 raise util.Abort(_("SSL support is unavailable"))
228 raise util.Abort(_("SSL support is unavailable"))
229 httpserver.socket = ssl.wrap_socket(httpserver.socket, server_side=True,
229 httpserver.socket = ssl.wrap_socket(httpserver.socket, server_side=True,
230 certfile=ssl_cert, ssl_version=ssl.PROTOCOL_SSLv3)
230 certfile=ssl_cert, ssl_version=ssl.PROTOCOL_SSLv23)
231
231
232 def setup(self):
232 def setup(self):
233 self.connection = self.request
233 self.connection = self.request
General Comments 0
You need to be logged in to leave comments. Login now