summary refs log tree commit diff
path: root/crypto/test/src/tls
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/tls
parentAdd Highest/LowestOneBit methods (diff)
downloadBouncyCastle.NET-ed25519-dfc2d102c7260725546be008a8ff62d28b2189eb.tar.xz
Updates towards netstandard
Diffstat (limited to 'crypto/test/src/tls')
-rw-r--r--crypto/test/src/tls/test/TlsTestUtilities.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/test/src/tls/test/TlsTestUtilities.cs b/crypto/test/src/tls/test/TlsTestUtilities.cs
index 3ecacb0f0..fe2cf038f 100644
--- a/crypto/test/src/tls/test/TlsTestUtilities.cs
+++ b/crypto/test/src/tls/test/TlsTestUtilities.cs
@@ -51,7 +51,11 @@ namespace Org.BouncyCastle.Tls.Tests
 
         internal static string ToUpperInvariant(string s)
         {
+#if NET_1_1
             return s.ToUpper(CultureInfo.InvariantCulture);
+#else
+            return s.ToUpperInvariant();
+#endif
         }
 
         internal static string Fingerprint(X509CertificateStructure c)