mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8294474: Better AES support
Reviewed-by: ahgross, ascarpino
This commit is contained in:
parent
a0f7ae1a95
commit
14aad787a8
4 changed files with 22 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -1537,11 +1537,11 @@ public final class SSLSocketImpl
|
|||
* wrapped.
|
||||
*/
|
||||
private void tryKeyUpdate() throws IOException {
|
||||
// Don't bother to kickstart if handshaking is in progress, or if the
|
||||
// connection is not duplex-open.
|
||||
// Don't bother to kickstart if handshaking is in progress, or if
|
||||
// the write side of the connection is not open. We allow a half-
|
||||
// duplex write-only connection for key updates.
|
||||
if ((conContext.handshakeContext == null) &&
|
||||
!conContext.isOutboundClosed() &&
|
||||
!conContext.isInboundClosed() &&
|
||||
!conContext.isBroken) {
|
||||
if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
|
||||
SSLLogger.finest("trigger key update");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue