Loading openssl-sys/src/tls1.rs +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ pub const TLS1_2_VERSION: c_int = 0x303; pub const TLS1_3_VERSION: c_int = 0x304; pub const DTLS1_VERSION: c_int = 0xFEFF; #[cfg(any(ossl102, libressl332))] pub const DTLS1_2_VERSION: c_int = 0xFEFD; pub const TLS1_AD_DECODE_ERROR: c_int = 50; Loading openssl/src/ssl/mod.rs +1 −0 Original line number Diff line number Diff line Loading @@ -653,6 +653,7 @@ impl SslVersion { /// DTLSv1.2 /// /// DTLS 1.2 corresponds to TLS 1.2 to harmonize versions. There was never a DTLS 1.1. #[cfg(any(ossl102, libressl332))] pub const DTLS1_2: SslVersion = SslVersion(ffi::DTLS1_2_VERSION); } Loading Loading
openssl-sys/src/tls1.rs +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ pub const TLS1_2_VERSION: c_int = 0x303; pub const TLS1_3_VERSION: c_int = 0x304; pub const DTLS1_VERSION: c_int = 0xFEFF; #[cfg(any(ossl102, libressl332))] pub const DTLS1_2_VERSION: c_int = 0xFEFD; pub const TLS1_AD_DECODE_ERROR: c_int = 50; Loading
openssl/src/ssl/mod.rs +1 −0 Original line number Diff line number Diff line Loading @@ -653,6 +653,7 @@ impl SslVersion { /// DTLSv1.2 /// /// DTLS 1.2 corresponds to TLS 1.2 to harmonize versions. There was never a DTLS 1.1. #[cfg(any(ossl102, libressl332))] pub const DTLS1_2: SslVersion = SslVersion(ffi::DTLS1_2_VERSION); } Loading