From 614513f6a89491b435fa6a069f7ce4bd3a34f126 Mon Sep 17 00:00:00 2001 From: markt Date: Tue, 10 Nov 2009 15:38:37 +0000 Subject: [PATCH] Rename attribute git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@834506 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java b/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java index 956af3e68..a552b8e71 100644 --- a/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java +++ b/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java @@ -102,7 +102,7 @@ public class JSSESocketFactory protected String clientAuth = "false"; protected SSLServerSocketFactory sslProxy = null; protected String[] enabledCiphers; - protected boolean enableMitmVulnerability = false; + protected boolean allowUnsafeLegacyRenegotiation = false; /** * Flag to state that we require client authentication. @@ -157,7 +157,7 @@ public class JSSESocketFactory SSLSocket asock = null; try { asock = (SSLSocket)socket.accept(); - if (!enableMitmVulnerability) { + if (!allowUnsafeLegacyRenegotiation) { asock.addHandshakeCompletedListener( new DisableSslRenegotiation()); } @@ -490,8 +490,8 @@ public class JSSESocketFactory getEnabledCiphers(requestedCiphers, sslProxy.getSupportedCipherSuites()); - enableMitmVulnerability = - "true".equals(attributes.get("enableMitmVulnerability")); + allowUnsafeLegacyRenegotiation = + "true".equals(attributes.get("allowUnsafeLegacyRenegotiation")); // Check the SSL config is OK checkConfig(); -- 2.11.0