Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

v2 linux-next scripts/sign-file.c Fix LibreSSL support

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


Fix SSL headers so that the kernel can build with LibreSSL

Signed-off-by: Codarren Velvindron <codarren@hackers.mu>
Acked-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: David Howells <dhowells@redhat.com>

authored by

Codarren Velvindron and committed by
David Howells
411a6f58 388f7b1d

+1 -1
+1 -1
scripts/sign-file.c
··· 39 39 * signing with anything other than SHA1 - so we're stuck with that if such is 40 40 * the case. 41 41 */ 42 - #if OPENSSL_VERSION_NUMBER < 0x10000000L 42 + #if (OPENSSL_VERSION_NUMBER < 0x10000000L || LIBRESSL_VERSION_NUMBER) 43 43 #define USE_PKCS7 44 44 #endif 45 45 #ifndef USE_PKCS7