Skip to content

Commit

Permalink
Issue #4385 - Minimize impact of deprecated SNI mode on base class
Browse files Browse the repository at this point in the history
Signed-off-by: Joakim Erdfelt <[email protected]>
  • Loading branch information
joakime committed Dec 2, 2019
1 parent 666ee4e commit e1d64af
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ protected KeyManager[] getKeyManagers(KeyStore keyStore) throws Exception
protected X509ExtendedKeyManager newSniX509ExtendedKeyManager(X509ExtendedKeyManager keyManager)
{
LOG.warn("Using Deprecated SslContextFactory implementation, SNI does not work in this context, use SslContextFactory.Server instead.");
return null;
return keyManager;
}

protected TrustManager[] getTrustManagers(KeyStore trustStore, Collection<? extends CRL> crls) throws Exception
Expand Down Expand Up @@ -2184,7 +2184,7 @@ protected void checkConfiguration()
protected X509ExtendedKeyManager newSniX509ExtendedKeyManager(X509ExtendedKeyManager keyManager)
{
// Overriding base implementation, as this context should have no WARN message.
return null;
return keyManager;
}
}

Expand Down

0 comments on commit e1d64af

Please sign in to comment.