Loading openssl/src/ssl/callbacks.rs +3 −3 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ use std::ffi::CStr; use std::mem; use std::ptr; use std::slice; #[cfg(ossl111)] #[cfg(any(ossl111, boringssl))] use std::str; use std::sync::Arc; Loading @@ -28,7 +28,7 @@ use crate::ssl::{ }; #[cfg(ossl111)] use crate::ssl::{ClientHelloResponse, ExtensionContext}; #[cfg(ossl111)] #[cfg(any(ossl111, boringssl))] use crate::util::ForeignTypeRefExt; #[cfg(ossl111)] use crate::x509::X509Ref; Loading Loading @@ -429,7 +429,7 @@ where } } #[cfg(ossl111)] #[cfg(any(ossl111, boringssl))] pub unsafe extern "C" fn raw_keylog<F>(ssl: *const ffi::SSL, line: *const c_char) where F: Fn(&SslRef, &str) + 'static + Sync + Send, Loading openssl/src/ssl/mod.rs +1 −1 Original line number Diff line number Diff line Loading @@ -1470,7 +1470,7 @@ impl SslContextBuilder { /// /// Requires OpenSSL 1.1.1 or newer. #[corresponds(SSL_CTX_set_keylog_callback)] #[cfg(ossl111)] #[cfg(any(ossl111, boringssl))] pub fn set_keylog_callback<F>(&mut self, callback: F) where F: Fn(&SslRef, &str) + 'static + Sync + Send, Loading Loading
openssl/src/ssl/callbacks.rs +3 −3 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ use std::ffi::CStr; use std::mem; use std::ptr; use std::slice; #[cfg(ossl111)] #[cfg(any(ossl111, boringssl))] use std::str; use std::sync::Arc; Loading @@ -28,7 +28,7 @@ use crate::ssl::{ }; #[cfg(ossl111)] use crate::ssl::{ClientHelloResponse, ExtensionContext}; #[cfg(ossl111)] #[cfg(any(ossl111, boringssl))] use crate::util::ForeignTypeRefExt; #[cfg(ossl111)] use crate::x509::X509Ref; Loading Loading @@ -429,7 +429,7 @@ where } } #[cfg(ossl111)] #[cfg(any(ossl111, boringssl))] pub unsafe extern "C" fn raw_keylog<F>(ssl: *const ffi::SSL, line: *const c_char) where F: Fn(&SslRef, &str) + 'static + Sync + Send, Loading
openssl/src/ssl/mod.rs +1 −1 Original line number Diff line number Diff line Loading @@ -1470,7 +1470,7 @@ impl SslContextBuilder { /// /// Requires OpenSSL 1.1.1 or newer. #[corresponds(SSL_CTX_set_keylog_callback)] #[cfg(ossl111)] #[cfg(any(ossl111, boringssl))] pub fn set_keylog_callback<F>(&mut self, callback: F) where F: Fn(&SslRef, &str) + 'static + Sync + Send, Loading