diff options
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/src/math/ec/test/ECAlgorithmsTest.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/test/src/math/ec/test/ECAlgorithmsTest.cs b/crypto/test/src/math/ec/test/ECAlgorithmsTest.cs index 678b2991c..0b3a203dd 100644 --- a/crypto/test/src/math/ec/test/ECAlgorithmsTest.cs +++ b/crypto/test/src/math/ec/test/ECAlgorithmsTest.cs @@ -134,9 +134,9 @@ namespace Org.BouncyCastle.Math.EC.Tests private IList GetTestCurves() { ArrayList x9s = new ArrayList(); - ArrayList names = new ArrayList(); - CollectionUtilities.AddRange(names, ECNamedCurveTable.Names); - CollectionUtilities.AddRange(names, CustomNamedCurves.Names); + ISet names = new HashSet(ECNamedCurveTable.Names); + names.AddAll(CustomNamedCurves.Names); + foreach (string name in names) { X9ECParameters x9 = ECNamedCurveTable.GetByName(name); |