diff options
author | Rob Austein <sra@hactrn.net> | 2016-04-29 20:07:46 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-04-29 20:07:46 +0000 |
commit | 80318506218ecfb3b6d71477edf9b0536a83bef9 (patch) | |
tree | 525368468c5531ef40f12286e3d520bc17f4d634 /rpki | |
parent | d764414c3f0be9d6a6185109d2ad8be471e29dbf (diff) |
lxml doesn't like None as an attribute value, so use empty string when
reporting AIA extension of a root certificate. See #809.
svn path=/branches/tk705/; revision=6412
Diffstat (limited to 'rpki')
-rw-r--r-- | rpki/rpkid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpki/rpkid.py b/rpki/rpkid.py index e647fe12..4b2333d2 100644 --- a/rpki/rpkid.py +++ b/rpki/rpkid.py @@ -513,7 +513,7 @@ class main(object): notBefore = str(cert.getNotBefore()), notAfter = str(cert.getNotAfter()), sia_uri = cert.get_sia_directory_uri(), - aia_uri = cert.get_aia_uri(), + aia_uri = cert.get_aia_uri() or "", asn = str(resources.asn), ipv4 = str(resources.v4), ipv6 = str(resources.v6)) |