fix tests

This commit is contained in:
Richard van der Hoff 2019-02-11 22:01:27 +00:00
parent 4fddf8fc77
commit 0ca2908653
2 changed files with 7 additions and 3 deletions

View file

@ -111,7 +111,7 @@ class TlsConfig(Config):
"""
self.tls_certificate = self.read_tls_certificate()
if not self.no_tls:
if self.has_tls_listener():
self.tls_private_key = self.read_tls_private_key()
self.tls_fingerprints = list(self._original_tls_fingerprints)