Loading openssl-sys/src/ssl.rs +2 −2 Original line number Diff line number Diff line Loading @@ -311,9 +311,9 @@ pub const SSL_OP_NO_TLSv1_1: c_ulong = 0x10000000; pub const SSL_OP_NO_TLSv1_2: c_ulong = 0x08000000; pub const SSL_OP_NO_TLSv1: c_ulong = 0x04000000; #[cfg(ossl102)] #[cfg(any(ossl102, libressl332))] pub const SSL_OP_NO_DTLSv1: c_ulong = 0x04000000; #[cfg(ossl102)] #[cfg(any(ossl102, libressl332))] pub const SSL_OP_NO_DTLSv1_2: c_ulong = 0x08000000; #[cfg(ossl111)] pub const SSL_OP_NO_TLSv1_3: c_ulong = 0x20000000; Loading openssl/src/ssl/mod.rs +4 −4 Original line number Diff line number Diff line Loading @@ -211,14 +211,14 @@ bitflags! { /// Disables the use of DTLSv1.0 /// /// Requires OpenSSL 1.0.2 or newer. #[cfg(any(ossl102, ossl110))] /// Requires OpenSSL 1.0.2 or LibreSSL 3.3.2 or newer. #[cfg(any(ossl102, ossl110, libressl332))] const NO_DTLSV1 = ffi::SSL_OP_NO_DTLSv1; /// Disables the use of DTLSv1.2. /// /// Requires OpenSSL 1.0.2, or newer. #[cfg(any(ossl102, ossl110))] /// Requires OpenSSL 1.0.2 or LibreSSL 3.3.2 or newer. #[cfg(any(ossl102, ossl110, libressl332))] const NO_DTLSV1_2 = ffi::SSL_OP_NO_DTLSv1_2; /// Disables the use of all (D)TLS protocol versions. Loading Loading
openssl-sys/src/ssl.rs +2 −2 Original line number Diff line number Diff line Loading @@ -311,9 +311,9 @@ pub const SSL_OP_NO_TLSv1_1: c_ulong = 0x10000000; pub const SSL_OP_NO_TLSv1_2: c_ulong = 0x08000000; pub const SSL_OP_NO_TLSv1: c_ulong = 0x04000000; #[cfg(ossl102)] #[cfg(any(ossl102, libressl332))] pub const SSL_OP_NO_DTLSv1: c_ulong = 0x04000000; #[cfg(ossl102)] #[cfg(any(ossl102, libressl332))] pub const SSL_OP_NO_DTLSv1_2: c_ulong = 0x08000000; #[cfg(ossl111)] pub const SSL_OP_NO_TLSv1_3: c_ulong = 0x20000000; Loading
openssl/src/ssl/mod.rs +4 −4 Original line number Diff line number Diff line Loading @@ -211,14 +211,14 @@ bitflags! { /// Disables the use of DTLSv1.0 /// /// Requires OpenSSL 1.0.2 or newer. #[cfg(any(ossl102, ossl110))] /// Requires OpenSSL 1.0.2 or LibreSSL 3.3.2 or newer. #[cfg(any(ossl102, ossl110, libressl332))] const NO_DTLSV1 = ffi::SSL_OP_NO_DTLSv1; /// Disables the use of DTLSv1.2. /// /// Requires OpenSSL 1.0.2, or newer. #[cfg(any(ossl102, ossl110))] /// Requires OpenSSL 1.0.2 or LibreSSL 3.3.2 or newer. #[cfg(any(ossl102, ossl110, libressl332))] const NO_DTLSV1_2 = ffi::SSL_OP_NO_DTLSv1_2; /// Disables the use of all (D)TLS protocol versions. Loading