diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2004-04-21 12:43:21 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2004-04-21 12:43:21 +0000 |
commit | 90fac840669f02e75078052a58638ead9ed27a78 (patch) | |
tree | b869eecc2d01c951bc94728cadd4241a41a0f848 /apps | |
parent | 64674bcc8cee73853d00388a5e83cb1b2f38bec1 (diff) | |
download | openssl-90fac840669f02e75078052a58638ead9ed27a78.tar.gz |
Use X509_get_serialNumber() instead of accessing internals in x509.c
Diffstat (limited to 'apps')
-rw-r--r-- | apps/x509.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/x509.c b/apps/x509.c index 58706be344..4869b14025 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -695,7 +695,8 @@ bad: else if (serial == i) { BIO_printf(STDout,"serial="); - i2a_ASN1_INTEGER(STDout,x->cert_info->serialNumber); + i2a_ASN1_INTEGER(STDout, + X509_get_serialNumber(x)); BIO_printf(STDout,"\n"); } else if (email == i) |