Skip to content

Commit 388bcea

Browse files
mgaffiganjonbartels
authored andcommitted
Java 8u261 added support for TLS1.3, avoid assuming otherwise
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
1 parent 522f0f3 commit 388bcea

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

server/test/com/mirth/connect/util/MirthSSLUtilTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ public void testEnabledProtocols() throws Exception {
3333
if (getJavaVersion() >= 11) {
3434
assertTrue(ArrayUtils.contains(enabledClientProtocols, "TLSv1.3"));
3535
assertTrue(ArrayUtils.contains(enabledServerProtocols, "TLSv1.3"));
36-
} else {
37-
assertFalse(ArrayUtils.contains(enabledClientProtocols, "TLSv1.3"));
38-
assertFalse(ArrayUtils.contains(enabledServerProtocols, "TLSv1.3"));
3936
}
4037
}
4138

@@ -50,8 +47,6 @@ public void testEnabledCipherSuites() throws Exception {
5047
// TLS_AES_256_GCM_SHA384 supported in Java 11+
5148
if (getJavaVersion() >= 11) {
5249
assertTrue(ArrayUtils.contains(enabledClientCipherSuites, "TLS_AES_256_GCM_SHA384"));
53-
} else {
54-
assertFalse(ArrayUtils.contains(enabledClientCipherSuites, "TLS_AES_256_GCM_SHA384"));
5550
}
5651
}
5752

0 commit comments

Comments
 (0)