Use shorter config key name

This commit is contained in:
Daniel Wagner-Hall 2015-09-15 15:50:13 +01:00
parent 3bcbabc9fb
commit d4af08a167
2 changed files with 5 additions and 4 deletions

View file

@ -181,7 +181,8 @@ class HomeServer(BaseHomeServer):
def build_http_client_context_factory(self):
config = self.get_config()
return (
InsecureInterceptableContextFactory() if config.use_insecure_ssl_client
InsecureInterceptableContextFactory()
if config.use_insecure_ssl_client_just_for_testing_do_not_use
else BrowserLikePolicyForHTTPS()
)