linux4.3: fix build with libressl: no CMS support, use PKCS7.
This commit is contained in:
parent
113f2a4c31
commit
1a56dc5f83
1 changed files with 11 additions and 0 deletions
11
srcpkgs/linux4.3/patches/sign-file-use-pkcs7-libressl.patch
Normal file
11
srcpkgs/linux4.3/patches/sign-file-use-pkcs7-libressl.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- scripts/sign-file.c.orig 2015-11-02 08:09:38.249671776 +0100
|
||||
+++ scripts/sign-file.c 2015-11-02 08:10:04.203937498 +0100
|
||||
@@ -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 defined(LIBRESSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER < 0x10000000L
|
||||
#define USE_PKCS7
|
||||
#endif
|
||||
#ifndef USE_PKCS7
|
Loading…
Reference in a new issue