diff options
| author | Richard Levitte <[email protected]> | 2002-07-24 16:42:05 +0200 |
|---|---|---|
| committer | Richard Levitte <[email protected]> | 2002-07-24 16:42:05 +0200 |
| commit | 8792704cf2a370d01a1470232d71edb09cb5090a (patch) | |
| tree | 9da1dcc3931cd374ee555a67299c60d534b00d45 | |
| parent | HP-UX shared libraries must be +x and should be -w. It doesn't hurt on (diff) | |
| download | openssl-8792704cf2a370d01a1470232d71edb09cb5090a.tar.gz openssl-8792704cf2a370d01a1470232d71edb09cb5090a.zip | |
Don't clobber loop variable.
PR: 159
| -rw-r--r-- | crypto/pkcs7/verify.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/pkcs7/verify.c b/crypto/pkcs7/verify.c index 49fc8d8bed6..bd270062b4f 100644 --- 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) |
