From ac9ca8b4e7904365dd0e37b0599f2f66b289ed46 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 1 May 2008 07:07:28 +0000 Subject: 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 --- rpkid/xml-parse-test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpkid/xml-parse-test.py') 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, -- cgit v1.2.3