Skip to content

Commit

Permalink
8291949: Unexpected extending of SupportedGroups
Browse files Browse the repository at this point in the history
Reviewed-by: djelinski, wetmore
  • Loading branch information
XueleiFan committed Aug 15, 2022
1 parent b5707b0 commit ea2c82e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Expand Up @@ -29,7 +29,6 @@
import sun.security.ssl.SSLExtension.ExtensionConsumer;
import sun.security.ssl.SSLExtension.SSLExtensionSpec;
import sun.security.ssl.SSLHandshake.HandshakeMessage;
import sun.security.ssl.SupportedGroupsExtension.SupportedGroups;
import sun.security.util.HexDumpEncoder;

import javax.crypto.Cipher;
Expand Down Expand Up @@ -381,7 +380,7 @@ public String toString(HandshakeContext hc, ByteBuffer buffer) {
}

private static final class T12CHSessionTicketProducer
extends SupportedGroups implements HandshakeProducer {
implements HandshakeProducer {
T12CHSessionTicketProducer() {
}

Expand Down Expand Up @@ -480,7 +479,7 @@ public void consume(ConnectionContext context,


private static final class T12SHSessionTicketProducer
extends SupportedGroups implements HandshakeProducer {
implements HandshakeProducer {
T12SHSessionTicketProducer() {
}

Expand Down
Expand Up @@ -327,7 +327,7 @@ static NamedGroup getPreferredGroup(
* the ClientHello handshake message.
*/
private static final class CHSupportedGroupsProducer
extends SupportedGroups implements HandshakeProducer {
implements HandshakeProducer {
// Prevent instantiation of this class.
private CHSupportedGroupsProducer() {
// blank
Expand Down Expand Up @@ -472,7 +472,7 @@ public void absent(ConnectionContext context,
* the EncryptedExtensions handshake message.
*/
private static final class EESupportedGroupsProducer
extends SupportedGroups implements HandshakeProducer {
implements HandshakeProducer {

// Prevent instantiation of this class.
private EESupportedGroupsProducer() {
Expand Down

1 comment on commit ea2c82e

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.