Skip to content

Commit

Permalink
Fix unexpected method call in SSLEngineConfigurator.configure
Browse files Browse the repository at this point in the history
Signed-off-by: kaido207 <[email protected]>
  • Loading branch information
kaido207 committed Jun 4, 2024
1 parent 76e4051 commit 13a75a2
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 13a75a2

Please sign in to comment.