Merge pull request #74 from mubix/patch-2

Set to use TLSv1 instead of SSLv3
This commit is contained in:
lgandx 2016-05-15 18:14:39 -05:00
commit 83ee962ab6

View file

@ -286,7 +286,7 @@ class SSLSock(ThreadingMixIn, TCPServer):
from OpenSSL import SSL
BaseServer.__init__(self, server_address, RequestHandlerClass)
ctx = SSL.Context(SSL.SSLv3_METHOD)
ctx = SSL.Context(SSL.TLSv1_METHOD)
cert = os.path.join(settings.Config.ResponderPATH, settings.Config.SSLCert)
key = os.path.join(settings.Config.ResponderPATH, settings.Config.SSLKey)