JSSE: WolfSSLTrustX509Test, only run RSA-PSS TLS 1.3 test if both are compiled in

pull/231/head
Chris Conlon 2024-11-06 15:48:37 -07:00
parent 31815eeed2
commit b91676cd21
1 changed files with 3 additions and 2 deletions

View File

@ -1514,8 +1514,9 @@ public class WolfSSLTrustX509Test {
@Test @Test
public void testUsingRsaPssCert() public void testUsingRsaPssCert()
throws Exception { throws Exception {
/* skip if RSA_PSS is not compiled in at native level */ /* skip if RSA_PSS or TLS 1.3 are not compiled in at native level */
if (WolfSSL.RsaPssEnabled() == false) { if ((WolfSSL.RsaPssEnabled() == false) ||
(WolfSSL.TLSv13Enabled() == false)) {
return; return;
} }