Author: markt
Date: Tue Mar  8 14:02:03 2011
New Revision: 1079359

URL: http://svn.apache.org/viewvc?rev=1079359&view=rev
Log:
Fix build failure and don't tie NIO connector to a single SSL implementation

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java?rev=1079359&r1=1079358&r2=1079359&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java 
(original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java Tue Mar  
8 14:02:03 2011
@@ -46,7 +46,6 @@ import org.apache.tomcat.util.net.NioEnd
 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 
                     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));
                     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to