File tree Expand file tree Collapse file tree
src/test/com/wolfssl/provider/jsse/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -359,7 +359,8 @@ public void testServerUsesClientCipherSuitePreference() throws Exception {
359359 f1 .get ();
360360
361361 String chosen1 = cs1 .getSession ().getCipherSuite ();
362- if (!"TLS_AES_256_GCM_SHA384" .equals (chosen1 )) {
362+ if (!"TLS_AES_256_GCM_SHA384" .equals (chosen1 ) &&
363+ !"TLS13-AES256-GCM-SHA384" .equals (chosen1 )) {
363364 System .out .println ("\t ... failed" );
364365 fail ("Expected server preference cipher (AES_256), got "
365366 + chosen1 );
@@ -394,7 +395,8 @@ public void testServerUsesClientCipherSuitePreference() throws Exception {
394395 f2 .get ();
395396
396397 String chosen2 = cs2 .getSession ().getCipherSuite ();
397- if (!"TLS_AES_128_GCM_SHA256" .equals (chosen2 )) {
398+ if (!"TLS_AES_128_GCM_SHA256" .equals (chosen2 ) &&
399+ !"TLS13-AES128-GCM-SHA256" .equals (chosen2 )) {
398400 System .out .println ("\t ... failed" );
399401 fail ("Expected client preference cipher (AES_128), got "
400402 + chosen2 );
You can’t perform that action at this time.
0 commit comments