Skip to content

Commit fef8685

Browse files
Merge pull request #68 from cconlon/altNameOrder
fix failing WolfSSLX509 altName test, reverse order needed
2 parents 42d210e + e9ee12e commit fef8685

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/test/com/wolfssl/provider/jsse/test/WolfSSLX509Test.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -558,14 +558,14 @@ public void testSubjectAlternativeNames() {
558558

559559
/* populate known alt name list for example.com cert, for comparison */
560560
List<String> expected = new ArrayList<>();
561-
expected.add("www.example.net");
562-
expected.add("www.example.edu");
563-
expected.add("www.example.com");
564-
expected.add("example.org");
565-
expected.add("example.net");
566-
expected.add("example.edu");
567-
expected.add("example.com");
568561
expected.add("www.example.org");
562+
expected.add("example.com");
563+
expected.add("example.edu");
564+
expected.add("example.net");
565+
expected.add("example.org");
566+
expected.add("www.example.com");
567+
expected.add("www.example.edu");
568+
expected.add("www.example.net");
569569

570570
/* list to hold found altNames */
571571
List<String> found = new ArrayList<>();

0 commit comments

Comments
 (0)