mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor code restyling
This commit is contained in:
parent
983546d6bf
commit
f56d135438
86 changed files with 804 additions and 804 deletions
|
|
@ -85,10 +85,10 @@ class ProxyHTTPSConnection(ProxyHTTPConnection):
|
|||
|
||||
# Make the sock ssl-aware
|
||||
if PYVERSION >= "2.6":
|
||||
sslobj = ssl.wrap_socket(self.sock, self.key_file, self.cert_file)
|
||||
sslobj = ssl.wrap_socket(self.sock, self.key_file, self.cert_file)
|
||||
self.sock = sslobj
|
||||
else:
|
||||
sslobj = socket.ssl(self.sock, self.key_file, self.cert_file)
|
||||
sslobj = socket.ssl(self.sock, self.key_file, self.cert_file)
|
||||
self.sock = httplib.FakeSocket(self.sock, sslobj)
|
||||
|
||||
class ProxyHTTPHandler(urllib2.HTTPHandler):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue