From 13a75a2f50f8def7e98fe2d3135b7e765e175267 Mon Sep 17 00:00:00 2001 From: kaido207 Date: Tue, 4 Jun 2024 10:55:00 +0900 Subject: [PATCH] Fix unexpected method call in SSLEngineConfigurator.configure Signed-off-by: kaido207 --- .../java/org/glassfish/grizzly/ssl/SSLEngineConfigurator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/grizzly/src/main/java/org/glassfish/grizzly/ssl/SSLEngineConfigurator.java b/modules/grizzly/src/main/java/org/glassfish/grizzly/ssl/SSLEngineConfigurator.java index eabbcafc2..1c1adae6d 100644 --- a/modules/grizzly/src/main/java/org/glassfish/grizzly/ssl/SSLEngineConfigurator.java +++ b/modules/grizzly/src/main/java/org/glassfish/grizzly/ssl/SSLEngineConfigurator.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Contributors to the Eclipse Foundation. + * Copyright 2023, 2024 Contributors to the Eclipse Foundation. * Copyright (c) 2008, 2023 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the @@ -184,7 +184,7 @@ public SSLEngine configure(final SSLEngine sslEngine) { SSLParameters params = copy(sslParameters); - String[] enabledCipherSuites = params.getProtocols(); + String[] enabledCipherSuites = params.getCipherSuites(); if (enabledCipherSuites != null) { enabledCipherSuites = configureEnabledCiphers(sslEngine, enabledCipherSuites); params.setCipherSuites(enabledCipherSuites);