File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
server/test/com/mirth/connect/util Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,9 @@ public void testEnabledProtocols() throws Exception {
2929 String [] enabledClientProtocols = MirthSSLUtil .getEnabledHttpsProtocols (defaultClientProtocols );
3030 String [] enabledServerProtocols = MirthSSLUtil .getEnabledHttpsProtocols (defaultServerProtocols );
3131
32- // TLSv1.3 supported in Java 11+
33- if (getJavaVersion () >= 11 ) {
34- assertTrue (ArrayUtils .contains (enabledClientProtocols , "TLSv1.3" ));
35- assertTrue (ArrayUtils .contains (enabledServerProtocols , "TLSv1.3" ));
36- }
32+ // TLSv1.3 supported in Java 8u261+
33+ assertTrue (ArrayUtils .contains (enabledClientProtocols , "TLSv1.3" ));
34+ assertTrue (ArrayUtils .contains (enabledServerProtocols , "TLSv1.3" ));
3735 }
3836
3937 @ Test
@@ -44,10 +42,8 @@ public void testEnabledCipherSuites() throws Exception {
4442
4543 String [] enabledClientCipherSuites = MirthSSLUtil .getEnabledHttpsCipherSuites (defaultClientCipherSuites );
4644
47- // TLS_AES_256_GCM_SHA384 supported in Java 11+
48- if (getJavaVersion () >= 11 ) {
49- assertTrue (ArrayUtils .contains (enabledClientCipherSuites , "TLS_AES_256_GCM_SHA384" ));
50- }
45+ // TLS_AES_256_GCM_SHA384 supported in Java 8u261+
46+ assertTrue (ArrayUtils .contains (enabledClientCipherSuites , "TLS_AES_256_GCM_SHA384" ));
5147 }
5248
5349 private int getJavaVersion () {
You can’t perform that action at this time.
0 commit comments