diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2015-09-15 15:46:22 +0100 |
---|---|---|
committer | Daniel Wagner-Hall <daniel@matrix.org> | 2015-09-15 15:46:22 +0100 |
commit | 3bcbabc9fb5446e74a675352e22963d528189957 (patch) | |
tree | 943772937137282b1899698274ee75e77eca212d /synapse/http/client.py | |
parent | Merge branch 'master' into daniel/insecureclient (diff) | |
download | synapse-3bcbabc9fb5446e74a675352e22963d528189957.tar.xz |
Rename context factory
Mjark is officially no fun.
Diffstat (limited to 'synapse/http/client.py')
-rw-r--r-- | synapse/http/client.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py index 815a838729..0933388c04 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py @@ -261,11 +261,11 @@ def _print_ex(e): logger.exception(e) -class WoefullyInsecureContextFactory(ssl.ContextFactory): +class InsecureInterceptableContextFactory(ssl.ContextFactory): """ - Factory for PyOpenSSL SSL contexts which does absolutely no certificate verification. + Factory for PyOpenSSL SSL contexts which accepts any certificate for any domain. - Do not use this unless you really, really hate your users. + Do not use this since it allows an attacker to intercept your communications. """ def __init__(self): |