From 50f092a4485b071dedbef3cf1e52e7cb421b85c2 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 12 Nov 2014 03:49:09 +0000 Subject: Fix first round of RRDP SIA URI bugs. svn path=/branches/tk705/; revision=6019 --- rpki/x509.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rpki/x509.py') diff --git a/rpki/x509.py b/rpki/x509.py index 9bc34e19..1b1dafba 100644 --- a/rpki/x509.py +++ b/rpki/x509.py @@ -739,6 +739,10 @@ class X509(DER_object): Common code to issue an RPKI certificate. """ + if not sia or len(sia) != 4 or not sia[3]: + logger.debug("Oops! _issue() sia: %r", sia) + log.show_stack(logger) + now = rpki.sundial.now() ski = subject_key.get_SKI() @@ -784,6 +788,7 @@ class X509(DER_object): assert sia is not None or not is_ca if sia is not None: + logger.debug("_issue() sia: %r", sia) caRepository, rpkiManifest, signedObject, rpkiNotify = sia cert.setSIA( (caRepository,) if isinstance(caRepository, str) else caRepository, -- cgit v1.2.3