diff options
| author | Umang Raghuvanshi <[email protected]> | 2018-05-10 21:33:51 +0530 |
|---|---|---|
| committer | Umang Raghuvanshi <[email protected]> | 2018-05-10 21:41:59 +0530 |
| commit | afaa2387c89a6e7d2d8c2ee05d4ecb605b5188e1 (patch) | |
| tree | f0daa89071f9fb693da213e7b76f165b35949106 /openssl/src | |
| parent | Properly version-gate CMS constants (diff) | |
| download | rust-openssl-afaa2387c89a6e7d2d8c2ee05d4ecb605b5188e1.tar.xz rust-openssl-afaa2387c89a6e7d2d8c2ee05d4ecb605b5188e1.zip | |
Gate away CMS_KEY_PARAM from OpenSSL 1.0.1
Diffstat (limited to 'openssl/src')
| -rw-r--r-- | openssl/src/cms.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openssl/src/cms.rs b/openssl/src/cms.rs index 0583d086..6ee62fd0 100644 --- a/openssl/src/cms.rs +++ b/openssl/src/cms.rs @@ -39,8 +39,9 @@ bitflags! { const REUSE_DIGEST = ffi::CMS_REUSE_DIGEST; const USE_KEYID = ffi::CMS_USE_KEYID; const DEBUG_DECRYPT = ffi::CMS_DEBUG_DECRYPT; + #[cfg(all(not(libressl), not(ossl101)))] const KEY_PARAM = ffi::CMS_KEY_PARAM; - #[cfg(all(not(libressl), any(ossl101, ossl102)))] + #[cfg(all(not(libressl), not(ossl101), not(ossl102)))] const ASCIICRLF = ffi::CMS_ASCIICRLF; } } |