aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src/libressl
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2018-03-22 20:20:47 +0000
committerSteven Fackler <[email protected]>2018-03-22 20:22:07 +0000
commitf0614f4acd6d24fbb100b8365bc54662d4f62df2 (patch)
treec295bcfcb9060b41bba7ade78211b70865c40e71 /openssl-sys/src/libressl
parentMerge pull request #881 from sfackler/no-features-2 (diff)
downloadrust-openssl-f0614f4acd6d24fbb100b8365bc54662d4f62df2.tar.xz
rust-openssl-f0614f4acd6d24fbb100b8365bc54662d4f62df2.zip
Support LibreSSL 2.7.0
Closes #883 Closes #805
Diffstat (limited to 'openssl-sys/src/libressl')
-rw-r--r--openssl-sys/src/libressl/mod.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/openssl-sys/src/libressl/mod.rs b/openssl-sys/src/libressl/mod.rs
index c47363ca..0bc8cccc 100644
--- a/openssl-sys/src/libressl/mod.rs
+++ b/openssl-sys/src/libressl/mod.rs
@@ -136,7 +136,7 @@ pub struct DSA {
#[repr(C)]
pub struct ECDSA_SIG {
pub r: *mut ::BIGNUM,
- pub s: *mut ::BIGNUM
+ pub s: *mut ::BIGNUM,
}
#[repr(C)]
@@ -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))]
+#[cfg(any(libressl261, libressl262, libressl26x, libressl270))]
pub const SSL_OP_ALL: c_ulong = 0x4;
-#[cfg(not(any(libressl261, libressl262, libressl26x)))]
+#[cfg(not(any(libressl261, libressl262, libressl26x, libressl270)))]
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))]
+#[cfg(any(libressl261, libressl262, libressl26x, libressl270))]
pub const SSL_OP_SINGLE_ECDH_USE: c_ulong = 0x0;
-#[cfg(not(any(libressl261, libressl262, libressl26x)))]
+#[cfg(not(any(libressl261, libressl262, libressl26x, libressl270)))]
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;