(&self)
| 2643 | |
| 2644 | #[pymethod] |
| 2645 | fn cipher(&self) -> Option<CipherTuple> { |
| 2646 | // Use thread-local SSL pointer during handshake to avoid deadlock |
| 2647 | let ssl_ptr = get_ssl_ptr_for_context_change(&self.connection); |
| 2648 | unsafe { ssl::SslRef::from_ptr(ssl_ptr).current_cipher() }.map(cipher_to_tuple) |
| 2649 | } |
| 2650 | |
| 2651 | #[pymethod] |
| 2652 | fn pending(&self) -> i32 { |
nothing calls this directly
no test coverage detected