Loading openssl-sys/src/ssl.rs +9 −0 Original line number Diff line number Diff line Loading @@ -1101,11 +1101,20 @@ cfg_if! { extern "C" { pub fn TLS_method() -> *const SSL_METHOD; #[cfg(libressl321)] pub fn TLSv1_2_method() -> *const SSL_METHOD; pub fn DTLS_method() -> *const SSL_METHOD; pub fn TLS_server_method() -> *const SSL_METHOD; #[cfg(libressl321)] pub fn TLSv1_2_server_method() -> *const SSL_METHOD; pub fn TLS_client_method() -> *const SSL_METHOD; #[cfg(libressl321)] pub fn TLSv1_2_client_method() -> *const SSL_METHOD; } } else { extern "C" { Loading Loading
openssl-sys/src/ssl.rs +9 −0 Original line number Diff line number Diff line Loading @@ -1101,11 +1101,20 @@ cfg_if! { extern "C" { pub fn TLS_method() -> *const SSL_METHOD; #[cfg(libressl321)] pub fn TLSv1_2_method() -> *const SSL_METHOD; pub fn DTLS_method() -> *const SSL_METHOD; pub fn TLS_server_method() -> *const SSL_METHOD; #[cfg(libressl321)] pub fn TLSv1_2_server_method() -> *const SSL_METHOD; pub fn TLS_client_method() -> *const SSL_METHOD; #[cfg(libressl321)] pub fn TLSv1_2_client_method() -> *const SSL_METHOD; } } else { extern "C" { Loading