summary refs log tree commit diff
path: root/crypto/src/security/GeneratorUtilities.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-11-12 22:59:31 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-11-12 22:59:31 +0700
commit1bedffaf9e8cc5df2625cd836672a80cd9569e8d (patch)
tree19302b38c4c9e1c9868f6217568f4eca1ba78ce0 /crypto/src/security/GeneratorUtilities.cs
parentMerge branch 'master' of git.bouncycastle.org:bc-csharp into pcl (diff)
parentReview of culture-independent String comparison methods (diff)
downloadBouncyCastle.NET-ed25519-1bedffaf9e8cc5df2625cd836672a80cd9569e8d.tar.xz
Merge branch 'master' of git.bouncycastle.org:bc-csharp into pcl
Diffstat (limited to 'crypto/src/security/GeneratorUtilities.cs')
-rw-r--r--crypto/src/security/GeneratorUtilities.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/security/GeneratorUtilities.cs b/crypto/src/security/GeneratorUtilities.cs
index 45fbc9425..7562a76be 100644
--- a/crypto/src/security/GeneratorUtilities.cs
+++ b/crypto/src/security/GeneratorUtilities.cs
@@ -299,7 +299,7 @@ namespace Org.BouncyCastle.Security
                 return new DsaKeyPairGenerator();
 
             // "EC", "ECDH", "ECDHC", "ECDSA", "ECGOST3410", "ECMQV"
-            if (canonicalName.StartsWith("EC"))
+            if (Platform.StartsWith(canonicalName, "EC"))
                 return new ECKeyPairGenerator(canonicalName);
 
             if (canonicalName == "ELGAMAL")