From: David Howells <dhowells@redhat.com>
To: Vinson Lee <vlee@twopensource.com>
Cc: dhowells@redhat.com, David Woodhouse <David.Woodhouse@intel.com>,
"Luis R. Rodriguez" <mcgrof@suse.com>,
Mimi Zohar <zohar@linux.vnet.ibm.com>,
Marcel Holtmann <marcel@holtmann.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"
Date: Tue, 15 Sep 2015 23:56:23 +0100 [thread overview]
Message-ID: <19089.1442357783@warthog.procyon.org.uk> (raw)
In-Reply-To: <CAHTgTXX+jfVFCpqb+8Tbp9bEZZTk=LDTfrzD6C1CSEwm_JJCXg@mail.gmail.com>
Vinson Lee <vlee@twopensource.com> wrote:
> This patch results in this build error on CentOS 5.11.
>
> HOSTCC scripts/sign-file
> scripts/sign-file.c: In function ‘main’:
> scripts/sign-file.c:255:23: error: ‘PKCS7_PARTIAL’ undeclared (first
> use in this function)
> PKCS7_NOCERTS | PKCS7_PARTIAL | PKCS7_BINARY |
> ^
> scripts/sign-file.c:255:23: note: each undeclared identifier is
> reported only once for each function it appears in
> scripts/sign-file.c:259:2: warning: implicit declaration of function
> ‘PKCS7_sign_add_signer’ [-Wimplicit-function-declaration]
> ERR(!PKCS7_sign_add_signer(pkcs7, x509, private_key, digest_algo,
> ^
> scripts/sign-file.c:263:2: warning: implicit declaration of function
> ‘PKCS7_final’ [-Wimplicit-function-declaration]
> ERR(PKCS7_final(pkcs7, bm, PKCS7_NOCERTS | PKCS7_BINARY) < 0,
> ^
> scripts/sign-file.c:278:3: warning: implicit declaration of function
> ‘i2d_PKCS7_bio_stream’ [-Wimplicit-function-declaration]
> ERR(i2d_PKCS7_bio_stream(b, pkcs7, NULL, 0) < 0,
> ^
Hmmm... Tricky. I'll have to think about it. I'm using PKCS7_NOCERTS with
PKCS7_sign_add_signer() (or the CMS equivalents) to leave the cert list out of
the message - but it's then necessary to manually specify the signers - at
least so I recall.
David
next prev parent reply other threads:[~2015-09-15 22:56 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-11 22:41 Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory" Vinson Lee
2015-09-11 23:22 ` Davidlohr Bueso
2015-09-12 21:40 ` Jim Davis
2015-09-14 2:14 ` Dongsheng Yang
2015-09-15 13:40 ` David Howells
2015-09-15 22:01 ` Vinson Lee
2015-09-15 22:56 ` David Howells [this message]
2015-09-16 22:45 ` David Howells
2015-09-18 6:48 ` Vinson Lee
2015-09-24 11:18 ` David Howells
2015-09-24 11:21 ` David Howells
2015-09-24 22:24 ` Vinson Lee
2015-09-25 6:16 ` David Howells
2015-09-25 14:24 ` David Howells
2015-09-26 1:43 ` Vinson Lee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19089.1442357783@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=David.Woodhouse@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=mcgrof@suse.com \
--cc=vlee@twopensource.com \
--cc=zohar@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox