Fix #708 SslContextFactory: newSslServerSocket/newSslSocket are not customized

This commit is contained in:
Greg Wilkins 2016-07-14 18:26:51 +10:00
parent 35a64828fb
commit f6071ca7fc
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ public class SslContextFactory extends AbstractLifeCycle
SSLParameters enabled=context.getDefaultSSLParameters(); SSLParameters enabled=context.getDefaultSSLParameters();
SSLParameters supported=context.getSupportedSSLParameters(); SSLParameters supported=context.getSupportedSSLParameters();
selectCipherSuites(enabled.getCipherSuites(),supported.getCipherSuites()); selectCipherSuites(enabled.getCipherSuites(),supported.getCipherSuites());
selectProtocols(enabled.getProtocols(),enabled.getProtocols()); selectProtocols(enabled.getProtocols(),supported.getProtocols());
_factory = new Factory(keyStore,trustStore,context); _factory = new Factory(keyStore,trustStore,context);
if (LOG.isDebugEnabled()) if (LOG.isDebugEnabled())