Skip to content

Commit 6c25e29

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent d140fe0 commit 6c25e29

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

libs/ssl-config/src/main/java/org/elasticsearch/common/ssl/SslConfigurationLoader.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -100,22 +100,22 @@ public abstract class SslConfigurationLoader {
100100
"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
101101
);
102102

103-
104103
private static final List<String> JDK12_CIPHERS = Stream.concat(
105104
JDK24_CIPHERS.stream(),
106105
List.of(
107-
// AEAD, hardware support
108-
"TLS_RSA_WITH_AES_256_GCM_SHA384",
109-
"TLS_RSA_WITH_AES_128_GCM_SHA256",
110-
111-
// hardware support
112-
"TLS_RSA_WITH_AES_256_CBC_SHA256",
113-
"TLS_RSA_WITH_AES_128_CBC_SHA256",
114-
115-
// hardware support
116-
"TLS_RSA_WITH_AES_256_CBC_SHA",
117-
"TLS_RSA_WITH_AES_128_CBC_SHA"
118-
).stream()).toList();
106+
// AEAD, hardware support
107+
"TLS_RSA_WITH_AES_256_GCM_SHA384",
108+
"TLS_RSA_WITH_AES_128_GCM_SHA256",
109+
110+
// hardware support
111+
"TLS_RSA_WITH_AES_256_CBC_SHA256",
112+
"TLS_RSA_WITH_AES_128_CBC_SHA256",
113+
114+
// hardware support
115+
"TLS_RSA_WITH_AES_256_CBC_SHA",
116+
"TLS_RSA_WITH_AES_128_CBC_SHA"
117+
).stream()
118+
).toList();
119119

120120
static final List<String> DEFAULT_CIPHERS = Runtime.version().feature() >= 24 ? JDK24_CIPHERS : JDK12_CIPHERS;
121121
private static final char[] EMPTY_PASSWORD = new char[0];

0 commit comments

Comments
 (0)