diff options
| author | markus <> | 2002-09-05 22:45:21 +0000 |
|---|---|---|
| committer | markus <> | 2002-09-05 22:45:21 +0000 |
| commit | 2a6851ef8adb0e84ff2515493d3704a13c6256b0 (patch) | |
| tree | 9df5b497548eaf51e9f234d27aaf988cd14882c2 /src/lib/libcrypto/pkcs7 | |
| parent | 5514995a9d5ed91db089875adb509c7781357c0e (diff) | |
| download | openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.tar.gz openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.tar.bz2 openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.zip | |
import openssl-0.9.7-beta3
Diffstat (limited to 'src/lib/libcrypto/pkcs7')
| -rw-r--r-- | src/lib/libcrypto/pkcs7/verify.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/pkcs7/verify.c b/src/lib/libcrypto/pkcs7/verify.c index 5f7afe8933..b40f26032e 100644 --- a/src/lib/libcrypto/pkcs7/verify.c +++ b/src/lib/libcrypto/pkcs7/verify.c | |||
| @@ -179,10 +179,11 @@ char *argv[]; | |||
| 179 | { | 179 | { |
| 180 | ASN1_UTCTIME *tm; | 180 | ASN1_UTCTIME *tm; |
| 181 | char *str1,*str2; | 181 | char *str1,*str2; |
| 182 | int rc; | ||
| 182 | 183 | ||
| 183 | si=sk_PKCS7_SIGNER_INFO_value(sk,i); | 184 | si=sk_PKCS7_SIGNER_INFO_value(sk,i); |
| 184 | i=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si); | 185 | rc=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si); |
| 185 | if (i <= 0) | 186 | if (rc <= 0) |
| 186 | goto err; | 187 | goto err; |
| 187 | printf("signer info\n"); | 188 | printf("signer info\n"); |
| 188 | if ((tm=get_signed_time(si)) != NULL) | 189 | if ((tm=get_signed_time(si)) != NULL) |
