summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-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"
         )