Loading openssl-sys/src/tls1.rs +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ use *; pub const TLS1_VERSION: c_int = 0x301; pub const TLS1_1_VERSION: c_int = 0x302; pub const TLS1_2_VERSION: c_int = 0x303; #[cfg(ossl111)] #[cfg(any(ossl111, libressl340))] pub const TLS1_3_VERSION: c_int = 0x304; pub const TLS1_AD_DECODE_ERROR: c_int = 50; Loading openssl/src/ssl/mod.rs +2 −2 Original line number Diff line number Diff line Loading @@ -611,8 +611,8 @@ impl SslVersion { /// TLSv1.3 /// /// Requires OpenSSL 1.1.1 or newer. #[cfg(ossl111)] /// Requires OpenSSL 1.1.1 or LibreSSL 3.4.0 or newer. #[cfg(any(ossl111, libressl340))] pub const TLS1_3: SslVersion = SslVersion(ffi::TLS1_3_VERSION); } Loading Loading
openssl-sys/src/tls1.rs +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ use *; pub const TLS1_VERSION: c_int = 0x301; pub const TLS1_1_VERSION: c_int = 0x302; pub const TLS1_2_VERSION: c_int = 0x303; #[cfg(ossl111)] #[cfg(any(ossl111, libressl340))] pub const TLS1_3_VERSION: c_int = 0x304; pub const TLS1_AD_DECODE_ERROR: c_int = 50; Loading
openssl/src/ssl/mod.rs +2 −2 Original line number Diff line number Diff line Loading @@ -611,8 +611,8 @@ impl SslVersion { /// TLSv1.3 /// /// Requires OpenSSL 1.1.1 or newer. #[cfg(ossl111)] /// Requires OpenSSL 1.1.1 or LibreSSL 3.4.0 or newer. #[cfg(any(ossl111, libressl340))] pub const TLS1_3: SslVersion = SslVersion(ffi::TLS1_3_VERSION); } Loading