mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
Don't clobber loop variable.
PR: 159
This commit is contained in:
parent
f013c7f2a6
commit
546405bece
@ -179,10 +179,11 @@ char *argv[];
|
|||||||
{
|
{
|
||||||
ASN1_UTCTIME *tm;
|
ASN1_UTCTIME *tm;
|
||||||
char *str1,*str2;
|
char *str1,*str2;
|
||||||
|
int rc;
|
||||||
|
|
||||||
si=sk_PKCS7_SIGNER_INFO_value(sk,i);
|
si=sk_PKCS7_SIGNER_INFO_value(sk,i);
|
||||||
i=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
|
rc=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
|
||||||
if (i <= 0)
|
if (rc <= 0)
|
||||||
goto err;
|
goto err;
|
||||||
printf("signer info\n");
|
printf("signer info\n");
|
||||||
if ((tm=get_signed_time(si)) != NULL)
|
if ((tm=get_signed_time(si)) != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user