mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-21 20:30:39 +00:00
8327182: Move serverAlias into the loop
Reviewed-by: gli, mullan
This commit is contained in:
parent
2dd5fba3bd
commit
9059727df1
@ -278,8 +278,8 @@ enum X509Authentication implements SSLAuthentication {
|
||||
SSLLogger.finest("X509KeyManager class: " +
|
||||
km.getClass().getName());
|
||||
}
|
||||
String serverAlias = null;
|
||||
for (String keyType : keyTypes) {
|
||||
String serverAlias = null;
|
||||
if (shc.conContext.transport instanceof SSLSocketImpl socket) {
|
||||
serverAlias = km.chooseServerAlias(keyType,
|
||||
shc.peerSupportedAuthorities == null ? null :
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user