]> granicus.if.org Git - openssl/commitdiff
Remove duplicate statement.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 15 Feb 2014 01:27:56 +0000 (01:27 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 15 Feb 2014 01:29:36 +0000 (01:29 +0000)
(cherry picked from commit 5a7652c3e585e970e5b778074c92e617e48fde38)

crypto/cms/cms_lib.c

index b62d1bfac02b750f59021e74de3d5c2fa81ad772..ba08279a046196b77e8a86a0de40d73518718db6 100644 (file)
@@ -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++)