diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-04-07 11:00:44 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-04-07 11:00:44 +0000 |
commit | 853eae51e0ef43d8079bbe1a56155db6f49f5624 (patch) | |
tree | 38c3d35161257a5f4cbbc5f204eae4a28a619a41 | |
parent | b4be3808891f465c06ef0425ac84e7d26ddaec40 (diff) |
Implement CMS_NOCRL.
-rw-r--r-- | crypto/cms/cms_smime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/cms/cms_smime.c b/crypto/cms/cms_smime.c index 48885ce675..1e778e866d 100644 --- a/crypto/cms/cms_smime.c +++ b/crypto/cms/cms_smime.c @@ -336,7 +336,8 @@ int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs, if (!(flags & CMS_NO_SIGNER_CERT_VERIFY)) { cms_certs = CMS_get1_certs(cms); - crls = CMS_get1_crls(cms); + if (!(flags & CMS_NOCRL)) + crls = CMS_get1_crls(cms); for (i = 0; i < sk_CMS_SignerInfo_num(sinfos); i++) { si = sk_CMS_SignerInfo_value(sinfos, i); |