summaryrefslogtreecommitdiff
path: root/src/conf_mode/https.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-02-10 08:42:50 -0600
committerJohn Estabrook <jestabro@vyos.io>2020-02-10 08:42:50 -0600
commit5346f0e6e1f11d62e13da4ea5d12beb2040265d6 (patch)
tree8e22a29dd6514dfd2d55563eb4c142e10e3a295e /src/conf_mode/https.py
parent1b156e160c1d3d12b27bbf68645663d99795c2b0 (diff)
downloadvyos-1x-5346f0e6e1f11d62e13da4ea5d12beb2040265d6.tar.gz
vyos-1x-5346f0e6e1f11d62e13da4ea5d12beb2040265d6.zip
service https: T1585: add missing check in verify()
Diffstat (limited to 'src/conf_mode/https.py')
-rwxr-xr-xsrc/conf_mode/https.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/https.py b/src/conf_mode/https.py
index 2b492be26..5d90b2b53 100755
--- a/src/conf_mode/https.py
+++ b/src/conf_mode/https.py
@@ -162,6 +162,9 @@ def get_config():
return https
def verify(https):
+ if https is None:
+ return None
+
if https['certbot']:
for sb in https['server_block_list']:
if sb['certbot']: