8263137: Typos in sun.security.ssl.RenegoInfoExtension
Reviewed-by: xuelei
This commit is contained in:
parent
18fc35053c
commit
22a3117d22
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -280,7 +280,7 @@ final class RenegoInfoExtension {
|
|||||||
CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV.id) {
|
CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV.id) {
|
||||||
if (SSLLogger.isOn && SSLLogger.isOn("ssl,handshake")) {
|
if (SSLLogger.isOn && SSLLogger.isOn("ssl,handshake")) {
|
||||||
SSLLogger.finest(
|
SSLLogger.finest(
|
||||||
"Safe renegotiation, using the SCSV signgling");
|
"Safe renegotiation, using the SCSV signaling");
|
||||||
}
|
}
|
||||||
shc.conContext.secureRenegotiation = true;
|
shc.conContext.secureRenegotiation = true;
|
||||||
return;
|
return;
|
||||||
@ -341,7 +341,7 @@ final class RenegoInfoExtension {
|
|||||||
RenegotiationInfoSpec requestedSpec = (RenegotiationInfoSpec)
|
RenegotiationInfoSpec requestedSpec = (RenegotiationInfoSpec)
|
||||||
shc.handshakeExtensions.get(CH_RENEGOTIATION_INFO);
|
shc.handshakeExtensions.get(CH_RENEGOTIATION_INFO);
|
||||||
if (requestedSpec == null && !shc.conContext.secureRenegotiation) {
|
if (requestedSpec == null && !shc.conContext.secureRenegotiation) {
|
||||||
// Ignore, no renegotiation_info extension or SCSV signgling
|
// Ignore, no renegotiation_info extension or SCSV signaling
|
||||||
// requested.
|
// requested.
|
||||||
if (SSLLogger.isOn && SSLLogger.isOn("ssl,handshake")) {
|
if (SSLLogger.isOn && SSLLogger.isOn("ssl,handshake")) {
|
||||||
SSLLogger.finest(
|
SSLLogger.finest(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user