Merge pull request #857 from Ralith/middlebox-compat

Add SslOptions::ENABLE_MIDDLEBOX_COMPAT
This commit is contained in:
Steven Fackler 2018-03-03 15:06:47 -08:00 committed by GitHub
commit 5760ded1ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -214,6 +214,13 @@ bitflags! {
#[cfg(any(all(feature = "v102", ossl102), all(feature = "v110", ossl110),
all(feature = "v111", ossl111)))]
const NO_SSL_MASK = ffi::SSL_OP_NO_SSL_MASK;
/// Enable TLSv1.3 Compatibility mode.
///
/// This is on by default in OpenSSL 1.1.1. A future version may have this
/// disabled by default.
#[cfg(all(feature = "v111", ossl111))]
const ENABLE_MIDDLEBOX_COMPAT = ffi::SSL_OP_ENABLE_MIDDLEBOX_COMPAT;
}
}