diff options
| author | Steven Fackler <[email protected]> | 2015-12-12 16:33:58 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2015-12-12 16:33:58 -0800 |
| commit | 63a45ac62220857183e55dd15665b73451580896 (patch) | |
| tree | 6567b1a730d925fad58a221a310cea7263c89bf9 /openssl/src | |
| parent | Have NonblockingSslStream delegate to SslStream (diff) | |
| download | rust-openssl-63a45ac62220857183e55dd15665b73451580896.tar.xz rust-openssl-63a45ac62220857183e55dd15665b73451580896.zip | |
Fix AsRawSocket impls
Diffstat (limited to 'openssl/src')
| -rw-r--r-- | openssl/src/ssl/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/src/ssl/mod.rs b/openssl/src/ssl/mod.rs index 0ffa1120..6def5241 100644 --- a/openssl/src/ssl/mod.rs +++ b/openssl/src/ssl/mod.rs @@ -949,7 +949,7 @@ impl<S: AsRawFd> AsRawFd for SslStream<S> { #[cfg(windows)] impl<S: AsRawSocket> AsRawSocket for NonblockingSslStream<S> { - fn as_raw_fd(&self) -> RawSocket { + fn as_raw_socket(&self) -> RawSocket { self.0.as_raw_socket() } } @@ -1283,7 +1283,7 @@ impl<S: AsRawFd> AsRawFd for NonblockingSslStream<S> { #[cfg(windows)] impl<S: AsRawSocket> AsRawSocket for NonblockingSslStream<S> { - fn as_raw_fd(&self) -> RawSocket { + fn as_raw_socket(&self) -> RawSocket { self.0.as_raw_socket() } } |