summary refs log tree commit diff
path: root/crypto/src
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/src
parentAdd Highest/LowestOneBit methods (diff)
downloadBouncyCastle.NET-ed25519-dfc2d102c7260725546be008a8ff62d28b2189eb.tar.xz
Updates towards netstandard
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/util/Platform.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/util/Platform.cs b/crypto/src/util/Platform.cs
index 547cef3fa..040b0786e 100644
--- a/crypto/src/util/Platform.cs
+++ b/crypto/src/util/Platform.cs
@@ -181,10 +181,10 @@ namespace Org.BouncyCastle.Utilities
 
         internal static string ToUpperInvariant(string s)
         {
-#if PORTABLE
-            return s.ToUpperInvariant();
-#else
+#if NET_1_1
             return s.ToUpper(CultureInfo.InvariantCulture);
+#else
+            return s.ToUpperInvariant();
 #endif
         }