7009794: misleading text in SSLHandshakeException exception message
Update the warning message Reviewed-by: weijun
This commit is contained in:
parent
c6c7267c54
commit
31942cda2c
@ -377,8 +377,8 @@ final class ClientHandshaker extends Handshaker {
|
||||
ProtocolVersion mesgVersion = mesg.protocolVersion;
|
||||
if (!isNegotiable(mesgVersion)) {
|
||||
throw new SSLHandshakeException(
|
||||
"Server chose unsupported or disabled protocol: " +
|
||||
mesgVersion);
|
||||
"Server chose " + mesgVersion +
|
||||
", but client does not support or disables " + mesgVersion);
|
||||
}
|
||||
|
||||
handshakeHash.protocolDetermined(mesgVersion);
|
||||
|
Loading…
Reference in New Issue
Block a user