From d471adf351b92d38992cbe2374ad6e9d81a51a75 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 15 Feb 2014 01:27:56 +0000 Subject: [PATCH] Remove duplicate statement. (cherry picked from commit 5a7652c3e585e970e5b778074c92e617e48fde38) --- crypto/cms/cms_lib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/cms/cms_lib.c b/crypto/cms/cms_lib.c index cc00526d3e..48f613c144 100644 --- a/crypto/cms/cms_lib.c +++ b/crypto/cms/cms_lib.c @@ -475,8 +475,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++) -- 2.25.1