Perform SSL handshake
(&mut self)
| 2428 | |
| 2429 | // Perform SSL handshake |
| 2430 | fn do_handshake(&mut self) -> Result<(), ssl::Error> { |
| 2431 | match self { |
| 2432 | SslConnection::Socket(stream) => stream.do_handshake(), |
| 2433 | SslConnection::Bio(stream) => stream.do_handshake(), |
| 2434 | } |
| 2435 | } |
| 2436 | |
| 2437 | // Write data to SSL connection |
| 2438 | fn ssl_write(&mut self, buf: &[u8]) -> Result<usize, ssl::Error> { |
nothing calls this directly
no test coverage detected