projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
md5-x86_64.pl: work around warning.
[oweals/openssl.git]
/
crypto
/
cms
/
cms_lib.c
diff --git
a/crypto/cms/cms_lib.c
b/crypto/cms/cms_lib.c
index ab57f0f4a150178af5376d54899eb1d85c260452..e8e73f0a60d141471df4f5bea1a20b5d2099cd05 100644
(file)
--- a/
crypto/cms/cms_lib.c
+++ b/
crypto/cms/cms_lib.c
@@
-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++)