Skip to content

Commit

Permalink
Merge pull request eclipse-ee4j#2210 from kaido207/fix_getprotocols
Browse files Browse the repository at this point in the history
Fix unexpected method call in SSLEngineConfigurator.configure
  • Loading branch information
carryel authored Jan 6, 2025
2 parents ce50143 + 75c57cf commit 9b28fb9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 9b28fb9

Please sign in to comment.