Fix regression introduced by cherry-pick bd224286f5
This commit is contained in:
parent
91a508664f
commit
9e5dd21d23
@ -235,7 +235,7 @@ public abstract class SslContext {
|
|||||||
public static SslContext newServerContext(
|
public static SslContext newServerContext(
|
||||||
SslProvider provider, File certChainFile, File keyFile, String keyPassword) throws SSLException {
|
SslProvider provider, File certChainFile, File keyFile, String keyPassword) throws SSLException {
|
||||||
return newServerContext(provider, certChainFile, keyFile, keyPassword, null, IdentityCipherSuiteFilter.INSTANCE,
|
return newServerContext(provider, certChainFile, keyFile, keyPassword, null, IdentityCipherSuiteFilter.INSTANCE,
|
||||||
null, 0, 0);
|
null, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -376,9 +376,9 @@ public abstract class SslContext {
|
|||||||
File keyCertChainFile, File keyFile, String keyPassword, KeyManagerFactory keyManagerFactory,
|
File keyCertChainFile, File keyFile, String keyPassword, KeyManagerFactory keyManagerFactory,
|
||||||
Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn,
|
Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn,
|
||||||
long sessionCacheSize, long sessionTimeout) throws SSLException {
|
long sessionCacheSize, long sessionTimeout) throws SSLException {
|
||||||
return newServerContext(provider, trustCertChainFile, trustManagerFactory, keyCertChainFile,
|
return newServerContextInternal(provider, trustCertChainFile, trustManagerFactory, keyCertChainFile,
|
||||||
keyFile, keyPassword, keyManagerFactory, ciphers, cipherFilter, apn,
|
keyFile, keyPassword, keyManagerFactory, ciphers, cipherFilter, apn,
|
||||||
sessionCacheSize, sessionTimeout);
|
sessionCacheSize, sessionTimeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
static SslContext newServerContextInternal(
|
static SslContext newServerContextInternal(
|
||||||
@ -708,8 +708,9 @@ public abstract class SslContext {
|
|||||||
Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn,
|
Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn,
|
||||||
long sessionCacheSize, long sessionTimeout) throws SSLException {
|
long sessionCacheSize, long sessionTimeout) throws SSLException {
|
||||||
return newClientContextInternal(provider, trustCertChainFile, trustManagerFactory,
|
return newClientContextInternal(provider, trustCertChainFile, trustManagerFactory,
|
||||||
keyCertChainFile, keyFile, keyPassword, keyManagerFactory, ciphers, cipherFilter, apn,
|
keyCertChainFile, keyFile, keyPassword, keyManagerFactory, ciphers, cipherFilter,
|
||||||
sessionCacheSize, sessionTimeout);
|
apn,
|
||||||
|
sessionCacheSize, sessionTimeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
static SslContext newClientContextInternal(
|
static SslContext newClientContextInternal(
|
||||||
|
Loading…
Reference in New Issue
Block a user