diff --git a/src/java.base/share/classes/sun/security/ssl/SSLEngineInputRecord.java b/src/java.base/share/classes/sun/security/ssl/SSLEngineInputRecord.java index 5f1b180d7e1..774d0fb94ca 100644 --- a/src/java.base/share/classes/sun/security/ssl/SSLEngineInputRecord.java +++ b/src/java.base/share/classes/sun/security/ssl/SSLEngineInputRecord.java @@ -341,7 +341,7 @@ final class SSLEngineInputRecord extends InputRecord implements SSLRecord { // From RFC 8446: // "Implementations MUST verify that all messages immediately // preceding a key change align with a record boundary; if - // znot, then they MUST terminate the connection with an + // not, then they MUST terminate the connection with an // "unexpected_message" alert. Because the ClientHello, // EndOfEarlyData, ServerHello, Finished, and KeyUpdate // messages can immediately precede a key change, implementations diff --git a/src/java.base/share/classes/sun/security/ssl/SSLSocketInputRecord.java b/src/java.base/share/classes/sun/security/ssl/SSLSocketInputRecord.java index e56a458c645..8f3b3e7a09d 100644 --- a/src/java.base/share/classes/sun/security/ssl/SSLSocketInputRecord.java +++ b/src/java.base/share/classes/sun/security/ssl/SSLSocketInputRecord.java @@ -368,7 +368,7 @@ final class SSLSocketInputRecord extends InputRecord implements SSLRecord { // From RFC 8446: // "Implementations MUST verify that all messages immediately // preceding a key change align with a record boundary; if - // znot, then they MUST terminate the connection with an + // not, then they MUST terminate the connection with an // "unexpected_message" alert. Because the ClientHello, // EndOfEarlyData, ServerHello, Finished, and KeyUpdate // messages can immediately precede a key change, implementations