aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
Diffstat (limited to 'asn1')
-rw-r--r--asn1/x509af/x509af.cnf4
1 files changed, 3 insertions, 1 deletions
diff --git a/asn1/x509af/x509af.cnf b/asn1/x509af/x509af.cnf
index 7d1f44a244..8453660909 100644
--- a/asn1/x509af/x509af.cnf
+++ b/asn1/x509af/x509af.cnf
@@ -110,8 +110,10 @@ CertificateList/signedCertificateList/revokedCertificates/_item/userCertificate
#.FN_BODY SubjectName
+ const char* str;
%(DEFAULT_BODY)s
- proto_item_append_text(proto_item_get_parent(tree), " (%%s)", x509if_get_last_dn());
+ str = x509if_get_last_dn();
+ proto_item_append_text(proto_item_get_parent(tree), " (%%s)", str?str:"");
#.END