Skip to content

Commit

Permalink
Don't offer arbitrary_explicit_* curves in default clients
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdettman committed Sep 17, 2013
1 parent c981987 commit 1231bf2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ public Hashtable getClientExtensions()
* TODO Could just add all the curves since we support them all, but users may not want
* to use unnecessarily large fields. Need configuration options.
*/
this.namedCurves = new int[]{ NamedCurve.secp256r1, NamedCurve.secp384r1,
NamedCurve.arbitrary_explicit_prime_curves, NamedCurve.arbitrary_explicit_char2_curves };
this.namedCurves = new int[]{ NamedCurve.secp256r1, NamedCurve.secp384r1 };
this.clientECPointFormats = new short[]{ ECPointFormat.uncompressed,
ECPointFormat.ansiX962_compressed_prime, ECPointFormat.ansiX962_compressed_char2, };

Expand Down

0 comments on commit 1231bf2

Please sign in to comment.