activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1146657 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/nio/NIOSSLTransport.java
Date Thu, 14 Jul 2011 11:40:16 GMT
Author: dejanb
Date: Thu Jul 14 11:40:16 2011
New Revision: 1146657

URL: http://svn.apache.org/viewvc?rev=1146657&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-2583 - nio+ssl change enabledCipherSuites only if
they're set

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/nio/NIOSSLTransport.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/nio/NIOSSLTransport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/nio/NIOSSLTransport.java?rev=1146657&r1=1146656&r2=1146657&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/nio/NIOSSLTransport.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/nio/NIOSSLTransport.java
Thu Jul 14 11:40:16 2011
@@ -74,7 +74,9 @@ public class NIOSSLTransport extends NIO
             // initialize engine
             sslEngine = sslContext.createSSLEngine();
             sslEngine.setUseClientMode(false);
-            sslEngine.setEnabledCipherSuites(enabledCipherSuites);
+            if (enabledCipherSuites != null) {
+                sslEngine.setEnabledCipherSuites(enabledCipherSuites);
+            }
             sslEngine.setNeedClientAuth(needClientAuth);
             sslEngine.setWantClientAuth(wantClientAuth);
 



Mime
View raw message