mirror of
https://abf.rosa.ru/djam/libressl.git
synced 2025-02-23 08:02:54 +00:00
adopt sign-file.c (test 9) for LibreSSL with enabled CMS
https://bugzilla.kernel.org/show_bug.cgi?id=202159
This commit is contained in:
parent
7cd02bd3a9
commit
72c6554478
1 changed files with 1 additions and 3 deletions
4
test9.c
4
test9.c
|
@ -41,9 +41,7 @@
|
||||||
* signing with anything other than SHA1 - so we're stuck with that if such is
|
* signing with anything other than SHA1 - so we're stuck with that if such is
|
||||||
* the case.
|
* the case.
|
||||||
*/
|
*/
|
||||||
#if defined(LIBRESSL_VERSION_NUMBER) || \
|
#if defined(OPENSSL_NO_CMS) || OPENSSL_VERSION_NUMBER < 0x10000000L
|
||||||
OPENSSL_VERSION_NUMBER < 0x10000000L || \
|
|
||||||
defined(OPENSSL_NO_CMS)
|
|
||||||
#define USE_PKCS7
|
#define USE_PKCS7
|
||||||
#endif
|
#endif
|
||||||
#ifndef USE_PKCS7
|
#ifndef USE_PKCS7
|
||||||
|
|
Loading…
Add table
Reference in a new issue