summary refs log tree commit diff
path: root/synapse/config/tls.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-04-30 16:52:57 +0100
committerMark Haines <mark.haines@matrix.org>2015-04-30 16:52:57 +0100
commit2f1348f3395ba44cece492205ce7fa87ac519bee (patch)
tree57c2783ca4b2a39176385fd6720fe98fdbc17468 /synapse/config/tls.py
parentDon't break when sizes or durations are given as integers (diff)
downloadsynapse-2f1348f3395ba44cece492205ce7fa87ac519bee.tar.xz
Write a default log_config when generating 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 e70bc1cd2c..ecb2d42c1f 100644
--- a/synapse/config/tls.py
+++ b/synapse/config/tls.py
@@ -70,7 +70,7 @@ class TlsConfig(Config):
         private_key_pem = self.read_file(private_key_path, "tls_private_key")
         return crypto.load_privatekey(crypto.FILETYPE_PEM, private_key_pem)
 
-    def generate_keys(self, config):
+    def generate_files(self, config):
         tls_certificate_path = config["tls_certificate_path"]
         tls_private_key_path = config["tls_private_key_path"]
         tls_dh_params_path = config["tls_dh_params_path"]