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:27:56 +0000 (01:27 +0000)
crypto/cms/cms_lib.c

index 2682780..0a8200c 100644 (file)
@@ -450,8 +450,6 @@ int CMS_add0_cert(CMS_ContentInfo *cms, X509 *cert)
        pcerts = cms_get0_certificate_choices(cms);
        if (!pcerts)
                return 0;
-       if (!pcerts)
-               return 0;
        for (i = 0; i < sk_CMS_CertificateChoices_num(*pcerts); i++)
                {
                cch = sk_CMS_CertificateChoices_value(*pcerts, i);