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;
|
ProtocolVersion mesgVersion = mesg.protocolVersion;
|
||||||
if (!isNegotiable(mesgVersion)) {
|
if (!isNegotiable(mesgVersion)) {
|
||||||
throw new SSLHandshakeException(
|
throw new SSLHandshakeException(
|
||||||
"Server chose unsupported or disabled protocol: " +
|
"Server chose " + mesgVersion +
|
||||||
mesgVersion);
|
", but client does not support or disables " + mesgVersion);
|
||||||
}
|
}
|
||||||
|
|
||||||
handshakeHash.protocolDetermined(mesgVersion);
|
handshakeHash.protocolDetermined(mesgVersion);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user