Use new attribute name
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 10 Nov 2009 16:46:52 +0000 (16:46 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 10 Nov 2009 16:46:52 +0000 (16:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@834541 13f79535-47bb-0310-9956-ffa450edef68

test/org/apache/catalina/startup/TestTomcatSSL.java

index ed7b4fd..0750d22 100644 (file)
@@ -162,7 +162,7 @@ public class TestTomcatSSL extends TomcatBaseTest {
 
         initSsl(tomcat);
         // Enable MITM attack
-        tomcat.getConnector().setAttribute("enableMitmVulnerability", "true");
+        tomcat.getConnector().setAttribute("allowUnsafeLegacyRenegotiation", "true");
 
         tomcat.start();
         SSLContext sslCtx = SSLContext.getInstance("TLS");