Loading openssl/src/ssl/mod.rs +1 −7 Original line number Diff line number Diff line Loading @@ -805,13 +805,7 @@ impl<S: Read+Write> SslStream<S> { SslStream::new_server_from(ssl, stream) } /// Returns a mutable reference to the underlying stream. /// /// ## Warning /// /// `read`ing or `write`ing directly to the underlying stream will most /// likely desynchronize the SSL session. #[deprecated="use get_mut instead"] #[doc(hidden)] pub fn get_inner(&mut self) -> &mut S { self.get_mut() } Loading openssl/src/ssl/tests.rs +0 −1 Original line number Diff line number Diff line Loading @@ -429,7 +429,6 @@ fn test_npn_server_advertise_multiple() { mod dtlsv1 { use serialize::hex::FromHex; use std::net::TcpStream; use std::old_io::{Writer}; use std::thread; use crypto::hash::Type::{SHA256}; Loading Loading
openssl/src/ssl/mod.rs +1 −7 Original line number Diff line number Diff line Loading @@ -805,13 +805,7 @@ impl<S: Read+Write> SslStream<S> { SslStream::new_server_from(ssl, stream) } /// Returns a mutable reference to the underlying stream. /// /// ## Warning /// /// `read`ing or `write`ing directly to the underlying stream will most /// likely desynchronize the SSL session. #[deprecated="use get_mut instead"] #[doc(hidden)] pub fn get_inner(&mut self) -> &mut S { self.get_mut() } Loading
openssl/src/ssl/tests.rs +0 −1 Original line number Diff line number Diff line Loading @@ -429,7 +429,6 @@ fn test_npn_server_advertise_multiple() { mod dtlsv1 { use serialize::hex::FromHex; use std::net::TcpStream; use std::old_io::{Writer}; use std::thread; use crypto::hash::Type::{SHA256}; Loading