JSSE: WolfSSLTrustX509Test, only run RSA-PSS TLS 1.3 test if both are compiled in
parent
31815eeed2
commit
b91676cd21
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue