8310106: sun.security.ssl.SSLHandshake.getHandshakeProducer() incorrectly checks handshakeConsumers
Reviewed-by: wetmore, xuelei
This commit is contained in:
parent
353e581a53
commit
db133dbc02
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2006, 2022, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2006, 2023, 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
|
||||||
@ -443,7 +443,7 @@ enum SSLHandshake implements SSLConsumer, HandshakeProducer {
|
|||||||
|
|
||||||
private HandshakeProducer getHandshakeProducer(
|
private HandshakeProducer getHandshakeProducer(
|
||||||
ConnectionContext context) {
|
ConnectionContext context) {
|
||||||
if (handshakeConsumers.length == 0) {
|
if (handshakeProducers.length == 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user