This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 2e5cb6951c Remove unnecessary code (shutdown() sets these values)
2e5cb6951c is described below
commit 2e5cb6951cea14ec0773e83be36669a24915074c
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Aug 30 15:22:16 2024 +0100
Remove unnecessary code (shutdown() sets these values)
---
java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java | 3 ---
1 file changed, 3 deletions(-)
diff --git a/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java
b/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java
index 914eafb901..99bd981944 100644
--- a/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java
+++ b/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java
@@ -559,9 +559,6 @@ public final class OpenSSLEngine extends SSLEngine
implements SSLUtil.ProtocolIn
// protect against protocol overflow attack vector
if (len > MAX_ENCRYPTED_PACKET_LENGTH) {
- isInboundDone = true;
- isOutboundDone = true;
- engineClosed = true;
shutdown();
throw new SSLException(sm.getString("engine.oversizedPacket"));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]