Re: [PATCH v2] sign-file: fix build with CMS support disabled

From: David Woodhouse
Date: Fri Mar 04 2016 - 19:11:00 EST


On Tue, 2016-03-01 at 09:53 +0100, Marc-Antoine Perennou wrote:
> Some versions of openssl might have the CMS feature disabled
> LibreSSL disables this feature too
> If the feature is disabled, fallback to PKCS7
>
> In file included from scripts/sign-file.c:46:0:
> /usr/x86_64-pc-linux-gnu/include/openssl/cms.h:62:2: error: #error CMS is disabled.
> Â#error CMS is disabled.
>
> Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@xxxxxxxxxxxx>

That makes me happier than the original version; thanks.

Acked-by: David Woodhouse <David.Woodhouse@xxxxxxxxx>

--
David Woodhouse Open Source Technology Centre
David.Woodhouse@xxxxxxxxx Intel Corporation

Attachment: smime.p7s
Description: S/MIME cryptographic signature