Skip to content

Commit

Permalink
JSSE: WolfSSLTrustX509Test, only run RSA-PSS TLS 1.3 test if both are…
Browse files Browse the repository at this point in the history
… compiled in
  • Loading branch information
cconlon committed Nov 6, 2024
1 parent 31815ee commit b91676c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1514,8 +1514,9 @@ public void testCheckServerTrustedWithDuplicatedRootInChain()
@Test
public void testUsingRsaPssCert()
throws Exception {
/* skip if RSA_PSS is not compiled in at native level */
if (WolfSSL.RsaPssEnabled() == false) {
/* skip if RSA_PSS or TLS 1.3 are not compiled in at native level */
if ((WolfSSL.RsaPssEnabled() == false) ||
(WolfSSL.TLSv13Enabled() == false)) {
return;
}

Expand Down

0 comments on commit b91676c

Please sign in to comment.