enable passing the path to a CA file to Browser.VERIFY

This commit is contained in:
smurail 2014-10-27 15:26:59 +01:00
commit a3b51902b9

View file

@ -154,7 +154,7 @@ class Browser(object):
session.proxies = self.PROXIES session.proxies = self.PROXIES
session.verify = self.VERIFY and not self.logger.settings['ssl_insecure'] session.verify = not self.logger.settings['ssl_insecure'] and self.VERIFY
# defines a max_retries. It's mandatory in case a server is not # defines a max_retries. It's mandatory in case a server is not
# handling keep alive correctly, like the proxy burp # handling keep alive correctly, like the proxy burp
@ -258,7 +258,7 @@ class Browser(object):
proxies = self.PROXIES proxies = self.PROXIES
if verify is None: if verify is None:
verify = self.VERIFY and not self.logger.settings['ssl_insecure'] verify = not self.logger.settings['ssl_insecure'] and self.VERIFY
if timeout is None: if timeout is None:
timeout = self.TIMEOUT timeout = self.TIMEOUT