mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8291509: Minor cleanup could be done in sun.security
Reviewed-by: weijun
This commit is contained in:
parent
6beeb8471c
commit
4cec141a90
298 changed files with 2650 additions and 3262 deletions
|
@ -143,11 +143,12 @@ final class Finished {
|
|||
@Override
|
||||
public String toString() {
|
||||
MessageFormat messageFormat = new MessageFormat(
|
||||
"\"Finished\": '{'\n" +
|
||||
" \"verify data\": '{'\n" +
|
||||
"{0}\n" +
|
||||
" '}'\n" +
|
||||
"'}'",
|
||||
"""
|
||||
"Finished": '{'
|
||||
"verify data": '{'
|
||||
{0}
|
||||
'}'
|
||||
'}'""",
|
||||
Locale.ENGLISH);
|
||||
|
||||
HexDumpEncoder hexEncoder = new HexDumpEncoder();
|
||||
|
@ -214,7 +215,6 @@ final class Finished {
|
|||
HandshakeHash handshakeHash = context.handshakeHash;
|
||||
SecretKey masterSecretKey =
|
||||
context.handshakeSession.getMasterSecret();
|
||||
|
||||
boolean useClientLabel =
|
||||
(context.sslConfig.isClientMode && !isValidation) ||
|
||||
(!context.sslConfig.isClientMode && isValidation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue