Loading openssl-sys/src/handwritten/ssl.rs +6 −1 Original line number Diff line number Diff line Loading @@ -679,6 +679,10 @@ cfg_if! { pub fn TLS_server_method() -> *const SSL_METHOD; pub fn TLS_client_method() -> *const SSL_METHOD; // DTLS 1.2 support doesn't exist in LibresSSL 2.9.1 #[cfg(ossl110)] pub fn DTLSv1_2_method() -> *const SSL_METHOD; } } else { extern "C" { Loading @@ -699,7 +703,8 @@ cfg_if! { pub fn DTLSv1_method() -> *const SSL_METHOD; #[cfg(ossl102)] // DTLS 1.2 support started in OpenSSL 1.0.2, LibreSSL 3.3.2 #[cfg(any(ossl102,libressl332))] pub fn DTLSv1_2_method() -> *const SSL_METHOD; } } Loading Loading
openssl-sys/src/handwritten/ssl.rs +6 −1 Original line number Diff line number Diff line Loading @@ -679,6 +679,10 @@ cfg_if! { pub fn TLS_server_method() -> *const SSL_METHOD; pub fn TLS_client_method() -> *const SSL_METHOD; // DTLS 1.2 support doesn't exist in LibresSSL 2.9.1 #[cfg(ossl110)] pub fn DTLSv1_2_method() -> *const SSL_METHOD; } } else { extern "C" { Loading @@ -699,7 +703,8 @@ cfg_if! { pub fn DTLSv1_method() -> *const SSL_METHOD; #[cfg(ossl102)] // DTLS 1.2 support started in OpenSSL 1.0.2, LibreSSL 3.3.2 #[cfg(any(ossl102,libressl332))] pub fn DTLSv1_2_method() -> *const SSL_METHOD; } } Loading