aboutsummaryrefslogtreecommitdiff
path: root/rpkid/xml-parse-test.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2008-05-01 07:07:28 +0000
committerRob Austein <sra@hactrn.net>2008-05-01 07:07:28 +0000
commitac9ca8b4e7904365dd0e37b0599f2f66b289ed46 (patch)
tree128d388c9c9aa8aad22cfa4d9998d994f5a46bf4 /rpkid/xml-parse-test.py
parentdd4e65cc86b552daadc0d41408f8635236e182e0 (diff)
Simplify BSC and start adding BPKI CRL support; the latter doesn't
work yet due to an apparent bug in OpenSSL (CMS_add0_crl() dumps core). If through some bizzare twist of fate we revive the idea of allowing CA certs in CMS messages, this is the change that will need to be (partly) backed out. svn path=/docs/left-right-xml; revision=1730
Diffstat (limited to 'rpkid/xml-parse-test.py')
-rwxr-xr-xrpkid/xml-parse-test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/xml-parse-test.py b/rpkid/xml-parse-test.py
index bf49ad28..3e3b20ef 100755
--- a/rpkid/xml-parse-test.py
+++ b/rpkid/xml-parse-test.py
@@ -52,8 +52,8 @@ def lr_tester(elt_in, elt_out, msg):
assert isinstance(msg, rpki.left_right.msg)
if verbose:
for bsc in [x for x in msg if isinstance(x, rpki.left_right.bsc_elt)]:
- for cert in bsc.signing_cert:
- pprint_cert(cert)
+ if bsc.signing_cert is not None:
+ pprint_cert(bsc.signing_cert)
test(fileglob = "up-down-protocol-samples/*.xml",
rng = rpki.relaxng.up_down,