diff options
Diffstat (limited to 'rpkid/rpki/left_right.py')
-rw-r--r-- | rpkid/rpki/left_right.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/left_right.py b/rpkid/rpki/left_right.py index 2b42ad85..d4c051f1 100644 --- a/rpkid/rpki/left_right.py +++ b/rpkid/rpki/left_right.py @@ -222,7 +222,7 @@ class self_elt(data_elt): if now > ca_detail.latest_crl.getNextUpdate(): ca_detail.delete(ca, repository) ca_detail = ca.fetch_active() - if now > ca_detail.latest_crl.getNextUpdate(): + if ca_detail is not None and now > ca_detail.latest_crl.getNextUpdate(): ca_detail.generate_crl() ca_detail.generate_manifest() |