projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a crash in the asn1parse command
[oweals/openssl.git]
/
apps
/
x509.c
diff --git
a/apps/x509.c
b/apps/x509.c
index ad9fc98edfb9c2a9c77ea8920c93a9b7451ad27d..add74d556d68c2a1230d84337d7ded9e2c6e38e0 100644
(file)
--- a/
apps/x509.c
+++ b/
apps/x509.c
@@
-817,10
+817,10
@@
int MAIN(int argc, char **argv)
char *m;
int y, z;
char *m;
int y, z;
- X509_NAME_oneline(X509_get_subject_name(x), buf, sizeof
buf
);
+ X509_NAME_oneline(X509_get_subject_name(x), buf, sizeof
(buf)
);
BIO_printf(STDout, "/* subject:%s */\n", buf);
m = X509_NAME_oneline(X509_get_issuer_name(x), buf,
BIO_printf(STDout, "/* subject:%s */\n", buf);
m = X509_NAME_oneline(X509_get_issuer_name(x), buf,
- sizeof
buf
);
+ sizeof
(buf)
);
BIO_printf(STDout, "/* issuer :%s */\n", buf);
z = i2d_X509(x, NULL);
BIO_printf(STDout, "/* issuer :%s */\n", buf);
z = i2d_X509(x, NULL);