summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_x509a.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-09-07 23:14:26 +0000
committerDr. Stephen Henson <steve@openssl.org>2000-09-07 23:14:26 +0000
commit84b65340e1cf5b0c427d87e89f42382bff2a5b63 (patch)
treebf55a359dd51faaeb01ad56c7aae165a6c3c0b96 /crypto/asn1/t_x509a.c
parentf50c11ca40132a556880d11172694dfec6b90ad2 (diff)
Two new PKCS#12 demo programs.
Update PKCS12_parse(). Make the keyid in certificate aux info more usable.
Diffstat (limited to 'crypto/asn1/t_x509a.c')
-rw-r--r--crypto/asn1/t_x509a.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/asn1/t_x509a.c b/crypto/asn1/t_x509a.c
index a18ebb586c..f06af5b576 100644
--- a/crypto/asn1/t_x509a.c
+++ b/crypto/asn1/t_x509a.c
@@ -98,5 +98,13 @@ int X509_CERT_AUX_print(BIO *out, X509_CERT_AUX *aux, int indent)
} else BIO_printf(out, "%*sNo Rejected Uses.\n", indent, "");
if(aux->alias) BIO_printf(out, "%*sAlias: %s\n", indent, "",
aux->alias->data);
+ if(aux->keyid) {
+ BIO_printf(out, "%*sKey Id: ", indent, "");
+ for(i = 0; i < aux->keyid->length; i++)
+ BIO_printf(out, "%s%02X",
+ i ? ":" : "",
+ aux->keyid->data[i]);
+ BIO_write(out,"\n",1);
+ }
return 1;
}