From 06369e3974fbc83d3778807c090fbe69f20a27d4 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Tue, 8 Apr 2014 20:15:18 +0000 Subject: Import OpenSSL 1.0.1g. Approved by: benl (maintainer) --- crypto/cms/cms_lib.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'crypto/cms') diff --git a/crypto/cms/cms_lib.c b/crypto/cms/cms_lib.c index b62d1bfac02b..ba08279a0461 100644 --- a/crypto/cms/cms_lib.c +++ b/crypto/cms/cms_lib.c @@ -463,8 +463,6 @@ int CMS_add0_cert(CMS_ContentInfo *cms, X509 *cert) STACK_OF(CMS_CertificateChoices) **pcerts; int i; pcerts = cms_get0_certificate_choices(cms); - if (!pcerts) - return 0; if (!pcerts) return 0; for (i = 0; i < sk_CMS_CertificateChoices_num(*pcerts); i++) -- cgit v1.3