summary refs log tree commit diff
path: root/crypto/test/src/security
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@gmail.com>2022-06-15 23:47:08 +0700
committerPeter Dettman <peter.dettman@gmail.com>2022-06-15 23:47:08 +0700
commitdfc2d102c7260725546be008a8ff62d28b2189eb (patch)
treecf130e057f103ab50d5ae09c513e45d42313404b /crypto/test/src/security
parentAdd Highest/LowestOneBit methods (diff)
downloadBouncyCastle.NET-ed25519-dfc2d102c7260725546be008a8ff62d28b2189eb.tar.xz
Updates towards netstandard
Diffstat (limited to 'crypto/test/src/security')
-rw-r--r--crypto/test/src/security/test/TestSignerUtil.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/test/src/security/test/TestSignerUtil.cs b/crypto/test/src/security/test/TestSignerUtil.cs
index 8088f21fd..cc9cd2900 100644
--- a/crypto/test/src/security/test/TestSignerUtil.cs
+++ b/crypto/test/src/security/test/TestSignerUtil.cs
@@ -142,7 +142,11 @@ namespace Org.BouncyCastle.Security.Tests
             {
                 ISigner signer = SignerUtilities.GetSigner(algorithm);
 
+#if NET_1_1
                 string upper = algorithm.ToUpper(CultureInfo.InvariantCulture);
+#else
+                string upper = algorithm.ToUpperInvariant();
+#endif
                 int withPos = upper.LastIndexOf("WITH");
 
                 string cipherName = withPos < 0