From: "Codarren Velvindron" <codarren@hackers.mu>
To: codarren@hackers.mu
Cc: linux-kbuild@vger.kernel.org
Subject: [PATCH] v2 linux-next scripts/sign-file.c Fix LibreSSL support
Date: Wed, 13 Jan 2016 19:39:07 +0400 [thread overview]
Message-ID: <92dc47c01a2dd7bd13c71b9febae317a.squirrel@email.powweb.com> (raw)
In-Reply-To: <9c3047e63bc6451f171bb677b8605e04.squirrel@email.powweb.com>
-Fix SSL headers so that the kernel can build with LibreSSL
In file included from scripts/sign-file.c:47:0:
/usr/include/openssl/cms.h:62:2: error: #error CMS is disabled.
#error CMS is disabled.
^
scripts/Makefile.host:91: recipe for target 'scripts/sign-file' failed
make[1]: *** [scripts/sign-file] Error 1
Makefile:567: recipe for target 'scripts' failed
make: *** [scripts] Error 2
Signed-off-by: Codarren Velvindron <codarren@hackers.mu>
---
scripts/sign-file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/sign-file.c b/scripts/sign-file.c
index 250a7a6..a0b806d 100755
--- a/scripts/sign-file.c
+++ b/scripts/sign-file.c
@@ -39,7 +39,7 @@
* signing with anything other than SHA1 - so we're stuck with that if
such is
* the case.
*/
-#if OPENSSL_VERSION_NUMBER < 0x10000000L
+#if (OPENSSL_VERSION_NUMBER < 0x10000000L || LIBRESSL_VERSION_NUMBER)
#define USE_PKCS7
#endif
#ifndef USE_PKCS7
--
2.7.0
prev parent reply other threads:[~2016-01-13 15:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-13 7:49 [PATCH] [linux-next] scripts/sign-file.c Fix LibreSSL support] codarren
2016-01-13 15:39 ` Codarren Velvindron [this message]
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=92dc47c01a2dd7bd13c71b9febae317a.squirrel@email.powweb.com \
--to=codarren@hackers.mu \
--cc=linux-kbuild@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.