Skip to content

Commit

Permalink
Use isOverrideSet for consistency
Browse files Browse the repository at this point in the history
- org.bouncycastle.ec.disable_f2m property
  • Loading branch information
peterdettman committed Jun 28, 2024
1 parent 8f5db23 commit dd56165
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import org.bouncycastle.tls.crypto.impl.jcajce.JcaTlsCrypto;
import org.bouncycastle.util.Arrays;
import org.bouncycastle.util.Integers;
import org.bouncycastle.util.Properties;

class NamedGroupInfo
{
Expand Down Expand Up @@ -517,7 +518,7 @@ private static Map<Integer, NamedGroupInfo> createIndex(boolean isFipsContext, J

final boolean disableChar2 =
PropertyUtils.getBooleanSystemProperty("org.bouncycastle.jsse.ec.disableChar2", false) ||
PropertyUtils.getBooleanSystemProperty("org.bouncycastle.ec.disable_f2m", false);
Properties.isOverrideSet("org.bouncycastle.ec.disable_f2m");

final boolean disableFFDHE = !PropertyUtils.getBooleanSystemProperty("jsse.enableFFDHE", true);

Expand Down

0 comments on commit dd56165

Please sign in to comment.