diff options
author | Matthew Hodgson <matthew@matrix.org> | 2015-07-08 17:49:15 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2015-07-08 17:49:15 +0100 |
commit | 04192ee05b79310e556753a0029a44aa953c8754 (patch) | |
tree | f7b4752f23cc3887613778c6b7a749fced87e42b /synapse/config/tls.py | |
parent | Merge branch 'release-v0.9.3' of github.com:matrix-org/synapse (diff) | |
download | synapse-04192ee05b79310e556753a0029a44aa953c8754.tar.xz |
typo
Diffstat (limited to 'synapse/config/tls.py')
-rw-r--r-- | synapse/config/tls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/tls.py b/synapse/config/tls.py index ecb2d42c1f..ad8c5c8cad 100644 --- a/synapse/config/tls.py +++ b/synapse/config/tls.py @@ -91,7 +91,7 @@ class TlsConfig(Config): ) if not os.path.exists(tls_certificate_path): - with open(tls_certificate_path, "w") as certifcate_file: + with open(tls_certificate_path, "w") as certificate_file: cert = crypto.X509() subject = cert.get_subject() subject.CN = config["server_name"] @@ -106,7 +106,7 @@ class TlsConfig(Config): cert_pem = crypto.dump_certificate(crypto.FILETYPE_PEM, cert) - certifcate_file.write(cert_pem) + certificate_file.write(cert_pem) if not os.path.exists(tls_dh_params_path): if GENERATE_DH_PARAMS: |