From 8027fff782a867abb647b922296805c22b2497cc Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Wed, 15 Apr 2015 09:10:22 -0700 Subject: [PATCH] Fix nightly build issues --- openssl/src/ssl/mod.rs | 8 +------- openssl/src/ssl/tests.rs | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/openssl/src/ssl/mod.rs b/openssl/src/ssl/mod.rs index 0dd2b3cb..26851ade 100644 --- a/openssl/src/ssl/mod.rs +++ b/openssl/src/ssl/mod.rs @@ -805,13 +805,7 @@ impl SslStream { 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() } diff --git a/openssl/src/ssl/tests.rs b/openssl/src/ssl/tests.rs index dec1d992..688a5db6 100644 --- a/openssl/src/ssl/tests.rs +++ b/openssl/src/ssl/tests.rs @@ -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};