diff options
| author | Steven Fackler <[email protected]> | 2017-11-14 11:35:57 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-11-14 11:35:57 -0800 |
| commit | ca0c828d72d4d3edf556cc393d35f548762e6ae6 (patch) | |
| tree | 99fb67da55cad2d3c80cdce1bcb6419960923987 /openssl-sys/src/lib.rs | |
| parent | Merge pull request #759 from feeeeb/libressl-v2.6.3 (diff) | |
| parent | Adjust libressl version detection (diff) | |
| download | rust-openssl-ca0c828d72d4d3edf556cc393d35f548762e6ae6.tar.xz rust-openssl-ca0c828d72d4d3edf556cc393d35f548762e6ae6.zip | |
Merge pull request #775 from sfackler/libressl-stable
Whitelist stable libressl version ranges
Diffstat (limited to 'openssl-sys/src/lib.rs')
| -rw-r--r-- | openssl-sys/src/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 0bc7075f..e2f7c830 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -1250,14 +1250,14 @@ pub const SSL_VERIFY_NONE: c_int = 0; pub const SSL_VERIFY_PEER: c_int = 1; pub const SSL_VERIFY_FAIL_IF_NO_PEER_CERT: c_int = 2; -#[cfg(not(any(libressl261, libressl262, libressl263, ossl101)))] +#[cfg(not(any(libressl261, libressl262, libressl26x, ossl101)))] pub const SSL_OP_TLSEXT_PADDING: c_ulong = 0x00000010; -#[cfg(any(libressl261, libressl262, libressl263))] +#[cfg(any(libressl261, libressl262, libressl26x))] pub const SSL_OP_TLSEXT_PADDING: c_ulong = 0x0; pub const SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: c_ulong = 0x00000800; -#[cfg(not(any(libressl261, libressl262, libressl263)))] +#[cfg(not(any(libressl261, libressl262, libressl26x)))] pub const SSL_OP_CRYPTOPRO_TLSEXT_BUG: c_ulong = 0x80000000; -#[cfg(any(libressl261, libressl262, libressl263))] +#[cfg(any(libressl261, libressl262, libressl26x))] pub const SSL_OP_CRYPTOPRO_TLSEXT_BUG: c_ulong = 0x0; pub const SSL_OP_LEGACY_SERVER_CONNECT: c_ulong = 0x00000004; #[cfg(not(libressl))] |