From afaa2387c89a6e7d2d8c2ee05d4ecb605b5188e1 Mon Sep 17 00:00:00 2001 From: Umang Raghuvanshi Date: Thu, 10 May 2018 21:33:51 +0530 Subject: Gate away CMS_KEY_PARAM from OpenSSL 1.0.1 --- openssl-sys/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openssl-sys/src/lib.rs') diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index b07d5ab6..de24d94e 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -1505,7 +1505,7 @@ pub const CMS_REUSE_DIGEST: c_uint = 0x8000; pub const CMS_USE_KEYID: c_uint = 0x10000; #[cfg(not(libressl))] pub const CMS_DEBUG_DECRYPT: c_uint = 0x20000; -#[cfg(not(libressl))] +#[cfg(all(not(libressl), not(ossl101)))] pub const CMS_KEY_PARAM: c_uint = 0x40000; #[cfg(all(not(libressl), not(ossl101), not(ossl102)))] pub const CMS_ASCIICRLF: c_uint = 0x80000; -- cgit v1.2.3