summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-09-02 10:54:46 +0100
committerMark Haines <mark.haines@matrix.org>2014-09-02 10:54:56 +0100
commit64b341cc101104c877af9ab9113cf1dbf18a4a68 (patch)
treefb5488d676dcf05c567d699f55c2b93de87f175a
parentRepresent user power level in a room by a red bar at the bottom of his avatar... (diff)
downloadsynapse-64b341cc101104c877af9ab9113cf1dbf18a4a68.tar.xz
Fix typo when reading TLS config
Diffstat (limited to '')
-rw-r--r--synapse/config/tls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/tls.py b/synapse/config/tls.py
index e78ad32e84..16f6f3aba6 100644
--- a/synapse/config/tls.py
+++ b/synapse/config/tls.py
@@ -31,7 +31,7 @@ class TlsConfig(Config):
         self.tls_private_key = self.read_tls_private_key(
             args.tls_private_key_path
         )
-        self.tls_dh_params_path = self.check_path(
+        self.tls_dh_params_path = self.check_file(
             args.tls_dh_params_path, "tls_dh_params"
         )