Use X509_get_serialNumber() instead of accessing internals in x509.c

This commit is contained in:
Dr. Stephen Henson 2004-04-21 12:43:21 +00:00
parent 64674bcc8c
commit 90fac84066

View file

@ -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)