projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fb8642
)
Remove duplicate statement.
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 15 Feb 2014 01:27:56 +0000
(
01:27
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 15 Feb 2014 01:31:34 +0000
(
01:31
+0000)
(cherry picked from commit
5a7652c3e585e970e5b778074c92e617e48fde38
)
crypto/cms/cms_lib.c
patch
|
blob
|
history
diff --git
a/crypto/cms/cms_lib.c
b/crypto/cms/cms_lib.c
index cc00526d3e076361b8b43e51d8f4940d853409ec..48f613c1448d5f9aefad22bfc906fd38e0fa3bba 100644
(file)
--- 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++)