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:
9ccd4e2
)
Fix demo program.
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 2 Apr 2009 17:39:25 +0000
(17:39 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 2 Apr 2009 17:39:25 +0000
(17:39 +0000)
demos/pkcs12/pkread.c
patch
|
blob
|
history
diff --git
a/demos/pkcs12/pkread.c
b/demos/pkcs12/pkread.c
index 8e1b68631216e94830a791a0adaeaf425d286697..02e16cda2af5d281ef82a1b03ae086be30e93dba 100644
(file)
--- a/
demos/pkcs12/pkread.c
+++ b/
demos/pkcs12/pkread.c
@@
-51,7
+51,7
@@
int main(int argc, char **argv)
fprintf(fp, "***User Certificate***\n");
PEM_write_X509_AUX(fp, cert);
}
- if (ca && sk_num(ca)) {
+ if (ca && sk_
X509_
num(ca)) {
fprintf(fp, "***Other Certificates***\n");
for (i = 0; i < sk_X509_num(ca); i++)
PEM_write_X509_AUX(fp, sk_X509_value(ca, i));