mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-2583 - nio+ssl change enabledCipherSuites only if they're set
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1146657 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a26f03fea2
commit
48fa20a7bd
|
@ -74,7 +74,9 @@ public class NIOSSLTransport extends NIOTransport {
|
|||
// initialize engine
|
||||
sslEngine = sslContext.createSSLEngine();
|
||||
sslEngine.setUseClientMode(false);
|
||||
sslEngine.setEnabledCipherSuites(enabledCipherSuites);
|
||||
if (enabledCipherSuites != null) {
|
||||
sslEngine.setEnabledCipherSuites(enabledCipherSuites);
|
||||
}
|
||||
sslEngine.setNeedClientAuth(needClientAuth);
|
||||
sslEngine.setWantClientAuth(wantClientAuth);
|
||||
|
||||
|
|
Loading…
Reference in New Issue