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-21 10:46:09 +0700
committerPeter Dettman <peter.dettman@gmail.com>2022-06-21 10:46:09 +0700
commit522deaf74c9c119d360ebf42ca9b803eab029434 (patch)
treedbd0274ae5151e9fdf2680560c6c16d9f08a9b2e /crypto/test/src/security
parentAlternative for GetExecutingAssembly (diff)
downloadBouncyCastle.NET-ed25519-522deaf74c9c119d360ebf42ca9b803eab029434.tar.xz
Update defines
Diffstat (limited to 'crypto/test/src/security')
-rw-r--r--crypto/test/src/security/test/TestSignerUtil.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/test/src/security/test/TestSignerUtil.cs b/crypto/test/src/security/test/TestSignerUtil.cs
index cc9cd2900..f075526b0 100644
--- a/crypto/test/src/security/test/TestSignerUtil.cs
+++ b/crypto/test/src/security/test/TestSignerUtil.cs
@@ -142,10 +142,10 @@ namespace Org.BouncyCastle.Security.Tests
             {
                 ISigner signer = SignerUtilities.GetSigner(algorithm);
 
-#if NET_1_1
-                string upper = algorithm.ToUpper(CultureInfo.InvariantCulture);
-#else
+#if PORTABLE
                 string upper = algorithm.ToUpperInvariant();
+#else
+                string upper = algorithm.ToUpper(CultureInfo.InvariantCulture);
 #endif
                 int withPos = upper.LastIndexOf("WITH");