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:
b721e1e
)
Don't clobber loop variable.
author
Richard Levitte
<levitte@openssl.org>
Wed, 24 Jul 2002 14:42:38 +0000
(14:42 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 24 Jul 2002 14:42:38 +0000
(14:42 +0000)
PR: 159
crypto/pkcs7/verify.c
patch
|
blob
|
history
diff --git
a/crypto/pkcs7/verify.c
b/crypto/pkcs7/verify.c
index 5f7afe89336c53a1b7bcc4132ae7300761606647..b40f26032ec6f761c874264f2f28886061cf4ffe 100644
(file)
--- a/
crypto/pkcs7/verify.c
+++ b/
crypto/pkcs7/verify.c
@@
-179,10
+179,11
@@
char *argv[];
{
ASN1_UTCTIME *tm;
char *str1,*str2;
+ int rc;
si=sk_PKCS7_SIGNER_INFO_value(sk,i);
-
i
=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
- if (
i
<= 0)
+
rc
=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
+ if (
rc
<= 0)
goto err;
printf("signer info\n");
if ((tm=get_signed_time(si)) != NULL)