summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_x509.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-10-23 19:46:02 +0000
committerjkim <jkim@FreeBSD.org>2015-10-23 19:46:02 +0000
commit64cb0c902e312216cdc4c826fc0be9ba9e1bf4da (patch)
treeae816a5a768ec78af3610e509ca39507b33aa9f7 /crypto/asn1/t_x509.c
parente5911a7a89e76432a8d4607068e9171b30272e08 (diff)
downloadFreeBSD-src-64cb0c902e312216cdc4c826fc0be9ba9e1bf4da.zip
FreeBSD-src-64cb0c902e312216cdc4c826fc0be9ba9e1bf4da.tar.gz
Import OpenSSL 1.0.2d.
Diffstat (limited to 'crypto/asn1/t_x509.c')
-rw-r--r--crypto/asn1/t_x509.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c
index 4e7c45d..8aab551 100644
--- a/crypto/asn1/t_x509.c
+++ b/crypto/asn1/t_x509.c
@@ -228,6 +228,21 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
}
}
+ if (!(cflag & X509_FLAG_NO_IDS)) {
+ if (ci->issuerUID) {
+ if (BIO_printf(bp, "%8sIssuer Unique ID: ", "") <= 0)
+ goto err;
+ if (!X509_signature_dump(bp, ci->issuerUID, 12))
+ goto err;
+ }
+ if (ci->subjectUID) {
+ if (BIO_printf(bp, "%8sSubject Unique ID: ", "") <= 0)
+ goto err;
+ if (!X509_signature_dump(bp, ci->subjectUID, 12))
+ goto err;
+ }
+ }
+
if (!(cflag & X509_FLAG_NO_EXTENSIONS))
X509V3_extensions_print(bp, "X509v3 extensions",
ci->extensions, cflag, 8);
OpenPOWER on IntegriCloud