do not use PROTOCOL_SSLv3 as it is deprecated, use bad named PROTOCOL_SSLv23 instead
This commit is contained in:
parent
c3e824c403
commit
c42f4b61d8
1 changed files with 1 additions and 1 deletions
|
|
@ -730,7 +730,7 @@ socket.getaddrinfo = my_getaddrinfo
|
|||
|
||||
class HTTPSConnection2(httplib.HTTPSConnection):
|
||||
_HOSTS = {}
|
||||
_PROTOCOLS = [ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv3]
|
||||
_PROTOCOLS = [ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv23]
|
||||
|
||||
def _my_create_connection(self):
|
||||
sock = socket.create_connection((self.host, self.port), self.timeout)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue