diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-03-25 12:54:14 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-03-25 12:54:14 +0000 |
commit | 73ba116e963e74e3a6ed4eb8096561fbc4e4ec65 (patch) | |
tree | 85f67793b60b1b2a73adcfe807952db5e60743e8 /crypto/cms/cms_smime.c | |
parent | 80b2ff978d4f309cea71754ae6bcc01d6b36ea20 (diff) | |
download | openssl-73ba116e963e74e3a6ed4eb8096561fbc4e4ec65.tar.gz |
Update from stable branch.
Diffstat (limited to 'crypto/cms/cms_smime.c')
-rw-r--r-- | crypto/cms/cms_smime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cms/cms_smime.c b/crypto/cms/cms_smime.c index 12fc844d93..4a799eb897 100644 --- a/crypto/cms/cms_smime.c +++ b/crypto/cms/cms_smime.c @@ -419,7 +419,7 @@ int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs, for (i = 0; i < sk_CMS_SignerInfo_num(sinfos); i++) { si = sk_CMS_SignerInfo_value(sinfos, i); - if (!CMS_SignerInfo_verify_content(si, cmsbio)) + if (CMS_SignerInfo_verify_content(si, cmsbio) <= 0) { CMSerr(CMS_F_CMS_VERIFY, CMS_R_CONTENT_VERIFY_ERROR); |