提交 90fac840 编写于 作者: D Dr. Stephen Henson

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

上级 64674bcc
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册