From 72c6554478e8ddb9e47d526d582cdd546b7da310 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Sun, 8 Dec 2019 13:24:28 +0300 Subject: [PATCH] adopt sign-file.c (test 9) for LibreSSL with enabled CMS https://bugzilla.kernel.org/show_bug.cgi?id=202159 --- test9.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test9.c b/test9.c index 6192d56..020b035 100644 --- a/test9.c +++ b/test9.c @@ -41,9 +41,7 @@ * 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) || OPENSSL_VERSION_NUMBER < 0x10000000L #define USE_PKCS7 #endif #ifndef USE_PKCS7