aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys
diff options
context:
space:
mode:
authorUmang Raghuvanshi <[email protected]>2018-05-10 21:33:51 +0530
committerUmang Raghuvanshi <[email protected]>2018-05-10 21:41:59 +0530
commitafaa2387c89a6e7d2d8c2ee05d4ecb605b5188e1 (patch)
treef0daa89071f9fb693da213e7b76f165b35949106 /openssl-sys
parentProperly version-gate CMS constants (diff)
downloadrust-openssl-afaa2387c89a6e7d2d8c2ee05d4ecb605b5188e1.tar.xz
rust-openssl-afaa2387c89a6e7d2d8c2ee05d4ecb605b5188e1.zip
Gate away CMS_KEY_PARAM from OpenSSL 1.0.1
Diffstat (limited to 'openssl-sys')
-rw-r--r--openssl-sys/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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;