Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 657348 Details for
Bug 739472
sys-kernel/gentoo-sources - sign-file: LibreSSL only supports SHA1 signing for kernel modules
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sign-file: full functionality with modern LibreSSL
sign-file-full-functionality-with-modern-LibreSSL.diff (text/plain), 624 bytes, created by
tonemgub
on 2020-08-29 01:25:39 UTC
(
hide
)
Description:
sign-file: full functionality with modern LibreSSL
Filename:
MIME Type:
Creator:
tonemgub
Created:
2020-08-29 01:25:39 UTC
Size:
624 bytes
patch
obsolete
>diff --git a/scripts/sign-file.c b/scripts/sign-file.c >index fbd34b8e8f57..fd4d7c31d1bf 100644 >--- a/scripts/sign-file.c >+++ b/scripts/sign-file.c >@@ -41,9 +41,10 @@ >Â * signing with anything other than SHA1 - so we're stuck with that if such is >Â * the case. >Â */ >-#if defined(LIBRESSL_VERSION_NUMBER) || \ >-Â Â Â OPENSSL_VERSION_NUMBER < 0x10000000L || \ >-Â Â Â defined(OPENSSL_NO_CMS) >+#if defined(OPENSSL_NO_CMS) || \ >+Â Â Â ( defined(LIBRESSL_VERSION_NUMBER) \ >+Â Â Â && (LIBRESSL_VERSION_NUMBER < 0x3010000fL) ) || \ >+Â Â Â OPENSSL_VERSION_NUMBER < 0x10000000L >Â #define USE_PKCS7 >Â #endif >Â #ifndef USE_PKCS7
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 739472
: 657348