summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2017-02-17 12:10:04 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2017-02-17 12:10:06 +1100
commitb7e522b5644499784cb03674ce4ea297b150c105 (patch)
tree31ff4b692d5a90ce94b880c5821165b95ddc305f /scripts
parent58dd05a9ae4c5a85cfa93b3e15574752e64c7972 (diff)
parent52176603795c2ab7e9faf6bb94820da1b726aabd (diff)
Merge remote-tracking branch 'security/next'
Diffstat (limited to 'scripts')
-rw-r--r--scripts/sign-file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/sign-file.c b/scripts/sign-file.c
index 19ec468b1168..fbd34b8e8f57 100644
--- a/scripts/sign-file.c
+++ b/scripts/sign-file.c
@@ -41,7 +41,9 @@
* signing with anything other than SHA1 - so we're stuck with that if such is
* the case.
*/
-#if OPENSSL_VERSION_NUMBER < 0x10000000L || defined(OPENSSL_NO_CMS)
+#if defined(LIBRESSL_VERSION_NUMBER) || \
+ OPENSSL_VERSION_NUMBER < 0x10000000L || \
+ defined(OPENSSL_NO_CMS)
#define USE_PKCS7
#endif
#ifndef USE_PKCS7