scripts/sign-file.c Fix LibreSSL support]
Subsystems (2)
PATCH 1/1 scripts/sign-file.c Fix LibreSSL support]
HOSTCC scripts/sign-file In file included from scripts/sign-file.c:46: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
--- scripts/sign-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/sign-file.c +0 -0
@@ -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
PATCH 1/1 v2 linux-next scripts/sign-file.c Fix LibreSSL support
-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
--- scripts/sign-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/sign-file.c +0 -0
@@ -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