projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64674bc
)
Use X509_get_serialNumber() instead of accessing internals in x509.c
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 21 Apr 2004 12:43:21 +0000
(12:43 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 21 Apr 2004 12:43:21 +0000
(12:43 +0000)
apps/x509.c
patch
|
blob
|
history
diff --git
a/apps/x509.c
b/apps/x509.c
index 58706be34448986c24f615ce1389fddffa6b0dfe..4869b14025d467c38eca805b8faba4eaa95d1cad 100644
(file)
--- 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)