From: Dr. Stephen Henson Date: Sat, 15 Feb 2014 01:27:56 +0000 (+0000) Subject: Remove duplicate statement. X-Git-Tag: OpenSSL_1_0_0m~81 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8fe4d5bedb5c0786277a9dd40423ca011976c49e;p=oweals%2Fopenssl.git Remove duplicate statement. (cherry picked from commit 5a7652c3e585e970e5b778074c92e617e48fde38) --- diff --git a/crypto/cms/cms_lib.c b/crypto/cms/cms_lib.c index d00fe0f87b..5b0a35b715 100644 --- a/crypto/cms/cms_lib.c +++ b/crypto/cms/cms_lib.c @@ -466,8 +466,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++)