pass logger in to CRL validator

This commit is contained in:
dandds
2018-08-08 15:35:22 -04:00
parent c25fa2f5d8
commit 3a41d9f81c
3 changed files with 9 additions and 9 deletions

View File

@@ -142,8 +142,6 @@ def make_crl_validator(app):
for filename in pathlib.Path(app.config["CRL_DIRECTORY"]).glob("*"):
crl_locations.append(filename.absolute())
app.crl_validator = Validator(
roots=[app.config["CA_CHAIN"]], crl_locations=crl_locations
roots=[app.config["CA_CHAIN"]], crl_locations=crl_locations, logger=app.logger
)
for e in app.crl_validator.errors:
app.logger.error(e)