aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/cms/cms_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/cms/cms_lib.c')
-rw-r--r--openssl/crypto/cms/cms_lib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/openssl/crypto/cms/cms_lib.c b/openssl/crypto/cms/cms_lib.c
index b62d1bfac..ba08279a0 100644
--- a/openssl/crypto/cms/cms_lib.c
+++ b/openssl/crypto/cms/cms_lib.c
@@ -465,8 +465,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);