aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src/lib.rs
diff options
context:
space:
mode:
authorAndy Gauge <[email protected]>2017-10-09 12:10:04 -0700
committerAndy Gauge <[email protected]>2017-10-09 12:10:04 -0700
commit2c7f0e7604e758d2ba7f6f39ab78d8302f484f65 (patch)
treeb939ebd1ac58177ad4e7a8f25b488f8fe41cd61f /openssl-sys/src/lib.rs
parentBegun DSA documentation (diff)
parentMerge pull request #753 from zsck/issue719 (diff)
downloadrust-openssl-2c7f0e7604e758d2ba7f6f39ab78d8302f484f65.tar.xz
rust-openssl-2c7f0e7604e758d2ba7f6f39ab78d8302f484f65.zip
Merge branch 'master' of https://github.com/sfackler/rust-openssl
Diffstat (limited to 'openssl-sys/src/lib.rs')
-rw-r--r--openssl-sys/src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs
index b7951f0a..5c8bef7f 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, ossl101)))]
+#[cfg(not(any(libressl261, libressl262, ossl101)))]
pub const SSL_OP_TLSEXT_PADDING: c_ulong = 0x00000010;
-#[cfg(libressl261)]
+#[cfg(any(libressl261, libressl262))]
pub const SSL_OP_TLSEXT_PADDING: c_ulong = 0x0;
pub const SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: c_ulong = 0x00000800;
-#[cfg(not(libressl261))]
+#[cfg(not(any(libressl261, libressl262)))]
pub const SSL_OP_CRYPTOPRO_TLSEXT_BUG: c_ulong = 0x80000000;
-#[cfg(libressl261)]
+#[cfg(any(libressl261, libressl262))]
pub const SSL_OP_CRYPTOPRO_TLSEXT_BUG: c_ulong = 0x0;
pub const SSL_OP_LEGACY_SERVER_CONNECT: c_ulong = 0x00000004;
#[cfg(not(libressl))]