Skip to content

Commit b91676c

Browse files
committed
JSSE: WolfSSLTrustX509Test, only run RSA-PSS TLS 1.3 test if both are compiled in
1 parent 31815ee commit b91676c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,8 +1514,9 @@ public void testCheckServerTrustedWithDuplicatedRootInChain()
15141514
@Test
15151515
public void testUsingRsaPssCert()
15161516
throws Exception {
1517-
/* skip if RSA_PSS is not compiled in at native level */
1518-
if (WolfSSL.RsaPssEnabled() == false) {
1517+
/* skip if RSA_PSS or TLS 1.3 are not compiled in at native level */
1518+
if ((WolfSSL.RsaPssEnabled() == false) ||
1519+
(WolfSSL.TLSv13Enabled() == false)) {
15191520
return;
15201521
}
15211522

0 commit comments

Comments
 (0)