Skip to content

Commit

Permalink
v2 linux-next scripts/sign-file.c Fix LibreSSL support
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: David Woodhouse <[email protected]>
Signed-off-by: David Howells <[email protected]>
  • Loading branch information
Codarren Velvindron authored and dhowells committed Feb 9, 2016
1 parent 388f7b1 commit 411a6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sign-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 411a6f5

Please sign in to comment.