diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-17 12:10:04 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-17 12:10:06 +1100 |
commit | b7e522b5644499784cb03674ce4ea297b150c105 (patch) | |
tree | 31ff4b692d5a90ce94b880c5821165b95ddc305f /scripts | |
parent | 58dd05a9ae4c5a85cfa93b3e15574752e64c7972 (diff) | |
parent | 52176603795c2ab7e9faf6bb94820da1b726aabd (diff) |
Merge remote-tracking branch 'security/next'
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/sign-file.c | 4 |
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 |