aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rpkid/rpki/left_right.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/left_right.py b/rpkid/rpki/left_right.py
index 99a8e771..6914e7ff 100644
--- a/rpkid/rpki/left_right.py
+++ b/rpkid/rpki/left_right.py
@@ -384,7 +384,7 @@ class self_elt(data_elt):
ca = ca_detail.ca()
if ca_detail.state == "active":
old_resources = child_cert.cert.get_3779resources()
- new_resources = irdb_resources.intersection(old_resources)
+ new_resources = irdb_resources.intersection(old_resources).intersection(ca_detail.latest_ca_cert.get_3779resources())
if new_resources.empty():
rpki.log.debug("Resources shrank to the null set, revoking and withdrawing child certificate SKI %s" % child_cert.cert.gSKI())