diff options
author | Rob Austein <sra@hactrn.net> | 2014-02-20 06:43:48 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-02-20 06:43:48 +0000 |
commit | 065c44e912a7fca14ae641a09aa89d0a573c3cdf (patch) | |
tree | eccbc17bcb74d8cec5b429aeda65d940a0fbefae /rpkid/rpki/left_right.py | |
parent | 8453e66ddfbee5fdf8ab3bc94e88104dae50980b (diff) |
Checkpoint. Now generating something that looks a bit like a router
cert, but not right yet: RSA where should be ECDSA, EKU missing, and
EE certificate class's .reissue() method isn't working properly yet.
svn path=/branches/tk671/; revision=5673
Diffstat (limited to 'rpkid/rpki/left_right.py')
-rw-r--r-- | rpkid/rpki/left_right.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpkid/rpki/left_right.py b/rpkid/rpki/left_right.py index cb25046c..dcfc5f40 100644 --- a/rpkid/rpki/left_right.py +++ b/rpkid/rpki/left_right.py @@ -390,9 +390,9 @@ class self_elt(data_elt): results = set() for parent in self.parents: for ca in parent.cas: - for ca_detail in ca.active_ca_details: - if ca_detail.covers(resources): - results.add(ca_detail) + ca_detail = ca.active_ca_detail + if ca_detail is not None and ca_detail.covers(resources): + results.add(ca_detail) return results |