From 7afee0b1f52dd8f069a18ca4b00728e4124fd9e5 Mon Sep 17 00:00:00 2001 From: Koby Kahane Date: Fri, 1 Nov 2024 23:00:01 +0200 Subject: [PATCH] fix #111 multiple SEC_I_RENEGOTIATE --- src/tls_stream.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/tls_stream.rs b/src/tls_stream.rs index 6f59f21..7621149 100644 --- a/src/tls_stream.rs +++ b/src/tls_stream.rs @@ -527,9 +527,6 @@ where if let Some(to_write) = to_write { self.out_buf.get_mut().extend_from_slice(&to_write); } - if self.enc_in.position() != 0 { - self.decrypt()?; - } if let State::Initializing { ref mut more_calls, .. } = self.state