projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2613c1f
)
Don't shadow.
author
Ben Laurie
<ben@openssl.org>
Thu, 1 Apr 1999 10:17:35 +0000
(10:17 +0000)
committer
Ben Laurie
<ben@openssl.org>
Thu, 1 Apr 1999 10:17:35 +0000
(10:17 +0000)
apps/pkcs12.c
patch
|
blob
|
history
diff --git
a/apps/pkcs12.c
b/apps/pkcs12.c
index 99db7bb22c0bfa895363475bf7f75e4a58d838f6..96e0379fade98d1519ccafa492b5ffc668edad4e 100644
(file)
--- a/
apps/pkcs12.c
+++ b/
apps/pkcs12.c
@@
-325,18
+325,18
@@
if (export_cert) {
/* If chaining get chain from user cert */
if (chain) {
int vret;
/* If chaining get chain from user cert */
if (chain) {
int vret;
- STACK *chain;
+ STACK *chain
2
;
- vret = get_cert_chain (ucert, &chain);
+ vret = get_cert_chain (ucert, &chain
2
);
if (vret) {
BIO_printf (bio_err, "Error %s getting chain.\n",
X509_verify_cert_error_string(vret));
goto end;
}
/* Exclude verified certificate */
if (vret) {
BIO_printf (bio_err, "Error %s getting chain.\n",
X509_verify_cert_error_string(vret));
goto end;
}
/* Exclude verified certificate */
- for (i = 1; i < sk_num (chain) ; i++)
- sk_push(certs, sk_value (chain, i));
- sk_free(chain);
+ for (i = 1; i < sk_num (chain
2
) ; i++)
+ sk_push(certs, sk_value (chain
2
, i));
+ sk_free(chain
2
);
}
}