Revert "Merge pull request #67 from vbanos/update-ssl-ciphers"

This reverts commit a6fa04bcae47d1f61d8dac519fba66af0b129d4b, reversing
changes made to 6d6f2c9aa0c7a2bf2aa54f7d74e25e072135fae4.
This commit is contained in:
Noah Levitt 2018-02-27 16:44:50 -08:00
parent d29a367db6
commit b3070fabdd

View File

@ -64,7 +64,6 @@ import urlcanon
import time
import collections
import cProfile
from urllib3.util.ssl_ import DEFAULT_CIPHERS
class ProxyingRecorder(object):
"""
@ -260,7 +259,6 @@ class MitmProxyHandler(http_server.BaseHTTPRequestHandler):
context = ssl.create_default_context()
context.check_hostname = False
context.verify_mode = ssl.CERT_NONE
context.ciphers = DEFAULT_CIPHERS
self._remote_server_sock = context.wrap_socket(
self._remote_server_sock, server_hostname=self.hostname)
except AttributeError: