Allow empty federation_certificate_verification_whitelist (#6849)
This commit is contained in:
parent
99fcc96289
commit
bce557175b
|
@ -0,0 +1 @@
|
|||
Fix Synapse refusing to start if `federation_certificate_verification_whitelist` option is blank.
|
|
@ -109,6 +109,8 @@ class TlsConfig(Config):
|
|||
fed_whitelist_entries = config.get(
|
||||
"federation_certificate_verification_whitelist", []
|
||||
)
|
||||
if fed_whitelist_entries is None:
|
||||
fed_whitelist_entries = []
|
||||
|
||||
# Support globs (*) in whitelist values
|
||||
self.federation_certificate_verification_whitelist = [] # type: List[str]
|
||||
|
|
Loading…
Reference in New Issue