Use X509_get_serialNumber() instead of accessing internals in x509.c
This commit is contained in:
parent
64674bcc8c
commit
90fac84066
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue