diff options
| author | phoebe jenkins <[email protected]> | 2017-10-23 13:56:39 -0400 |
|---|---|---|
| committer | phoebe jenkins <[email protected]> | 2017-11-13 09:51:17 -0500 |
| commit | 62578357574f62325e1987f0dbcdd70ce3be236f (patch) | |
| tree | 62abaa7c0b2311129e03e1061b9dc09b6c886e75 /openssl-sys/src | |
| parent | Merge pull request #773 from gbip/master (diff) | |
| download | rust-openssl-62578357574f62325e1987f0dbcdd70ce3be236f.tar.xz rust-openssl-62578357574f62325e1987f0dbcdd70ce3be236f.zip | |
Add support for LibreSSL 2.6.3
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 8 | ||||
| -rw-r--r-- | openssl-sys/src/libressl/mod.rs | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 5c8bef7f..0bc7075f 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, ossl101)))] +#[cfg(not(any(libressl261, libressl262, libressl263, ossl101)))] pub const SSL_OP_TLSEXT_PADDING: c_ulong = 0x00000010; -#[cfg(any(libressl261, libressl262))] +#[cfg(any(libressl261, libressl262, libressl263))] 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)))] +#[cfg(not(any(libressl261, libressl262, libressl263)))] pub const SSL_OP_CRYPTOPRO_TLSEXT_BUG: c_ulong = 0x80000000; -#[cfg(any(libressl261, libressl262))] +#[cfg(any(libressl261, libressl262, libressl263))] pub const SSL_OP_CRYPTOPRO_TLSEXT_BUG: c_ulong = 0x0; pub const SSL_OP_LEGACY_SERVER_CONNECT: c_ulong = 0x00000004; #[cfg(not(libressl))] diff --git a/openssl-sys/src/libressl/mod.rs b/openssl-sys/src/libressl/mod.rs index 52a76f9e..40092256 100644 --- a/openssl-sys/src/libressl/mod.rs +++ b/openssl-sys/src/libressl/mod.rs @@ -345,9 +345,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))] +#[cfg(any(libressl261, libressl262, libressl263))] pub const SSL_OP_ALL: c_ulong = 0x4; -#[cfg(not(any(libressl261, libressl262)))] +#[cfg(not(any(libressl261, libressl262, libressl263)))] 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; @@ -360,9 +360,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))] +#[cfg(any(libressl261, libressl262, libressl263))] pub const SSL_OP_SINGLE_ECDH_USE: c_ulong = 0x0; -#[cfg(not(any(libressl261, libressl262)))] +#[cfg(not(any(libressl261, libressl262, libressl263)))] 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; |