diff options
| author | Steven Fackler <[email protected]> | 2018-04-03 08:43:14 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-04-03 08:43:14 -0700 |
| commit | f63b9f05a3b1114dc058e461da24a3c7d867f207 (patch) | |
| tree | c9464ef95e85eef47c8126979050b30bc82eb4fa /openssl-sys/src/libressl/mod.rs | |
| parent | Merge pull request #858 from Ralith/stateless-api (diff) | |
| parent | Add LibreSSL 2.7.3 (diff) | |
| download | rust-openssl-f63b9f05a3b1114dc058e461da24a3c7d867f207.tar.xz rust-openssl-f63b9f05a3b1114dc058e461da24a3c7d867f207.zip | |
Merge pull request #892 from oherrala/fix-libressl27
Add support for LibreSSL 2.7.1, 2.7.2 and for OpenBSD -current
Diffstat (limited to 'openssl-sys/src/libressl/mod.rs')
| -rw-r--r-- | openssl-sys/src/libressl/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openssl-sys/src/libressl/mod.rs b/openssl-sys/src/libressl/mod.rs index 0bc8cccc..0bcf83e1 100644 --- a/openssl-sys/src/libressl/mod.rs +++ b/openssl-sys/src/libressl/mod.rs @@ -337,9 +337,9 @@ pub const SSL_CTRL_OPTIONS: c_int = 32; pub const SSL_CTRL_CLEAR_OPTIONS: c_int = 77; pub const SSL_CTRL_SET_ECDH_AUTO: c_int = 94; -#[cfg(any(libressl261, libressl262, libressl26x, libressl270))] +#[cfg(any(libressl261, libressl262, libressl26x, libressl27))] pub const SSL_OP_ALL: c_ulong = 0x4; -#[cfg(not(any(libressl261, libressl262, libressl26x, libressl270)))] +#[cfg(not(any(libressl261, libressl262, libressl26x, libressl27)))] pub const SSL_OP_ALL: c_ulong = 0x80000014; pub const SSL_OP_CISCO_ANYCONNECT: c_ulong = 0x0; pub const SSL_OP_NO_COMPRESSION: c_ulong = 0x0; @@ -352,9 +352,9 @@ pub const SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER: c_ulong = 0x0; pub const SSL_OP_SSLEAY_080_CLIENT_DH_BUG: c_ulong = 0x0; pub const SSL_OP_TLS_D5_BUG: c_ulong = 0x0; pub const SSL_OP_TLS_BLOCK_PADDING_BUG: c_ulong = 0x0; -#[cfg(any(libressl261, libressl262, libressl26x, libressl270))] +#[cfg(any(libressl261, libressl262, libressl26x, libressl27))] pub const SSL_OP_SINGLE_ECDH_USE: c_ulong = 0x0; -#[cfg(not(any(libressl261, libressl262, libressl26x, libressl270)))] +#[cfg(not(any(libressl261, libressl262, libressl26x, libressl27)))] pub const SSL_OP_SINGLE_ECDH_USE: c_ulong = 0x00080000; pub const SSL_OP_SINGLE_DH_USE: c_ulong = 0x00100000; pub const SSL_OP_NO_SSLv2: c_ulong = 0x0; |