From: markt Date: Tue, 8 Mar 2011 14:02:03 +0000 (+0000) Subject: Fix build failure and don't tie NIO connector to a single SSL implementation X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=9808f507c7b56f858747d14e0fa53cb9d1e70e88;p=tomcat7.0 Fix build failure and don't tie NIO connector to a single SSL implementation git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1079359 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/coyote/http11/Http11NioProcessor.java b/java/org/apache/coyote/http11/Http11NioProcessor.java index c00300d0b..571a9d66a 100644 --- a/java/org/apache/coyote/http11/Http11NioProcessor.java +++ b/java/org/apache/coyote/http11/Http11NioProcessor.java @@ -46,7 +46,6 @@ import org.apache.tomcat.util.net.NioEndpoint.KeyAttachment; import org.apache.tomcat.util.net.SSLSupport; import org.apache.tomcat.util.net.SecureNioChannel; import org.apache.tomcat.util.net.SocketStatus; -import org.apache.tomcat.util.net.jsse.JSSEFactory; /** @@ -636,7 +635,9 @@ public class Http11NioProcessor extends AbstractHttp11Processor { engine.setNeedClientAuth(true); try { sslChannel.rehandshake(endpoint.getSoTimeout()); - sslSupport = (new JSSEFactory()).getSSLSupport(engine.getSession()); + sslSupport = + endpoint.getHandler().getSslImplementation().getSSLSupport( + engine.getSession()); } catch (IOException ioe) { log.warn(sm.getString("http11processor.socket.sslreneg",ioe)); }