diff options
author | Peter Dettman <peter.dettman@gmail.com> | 2022-06-21 10:46:09 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@gmail.com> | 2022-06-21 10:46:09 +0700 |
commit | 522deaf74c9c119d360ebf42ca9b803eab029434 (patch) | |
tree | dbd0274ae5151e9fdf2680560c6c16d9f08a9b2e /crypto/test/src/security | |
parent | Alternative for GetExecutingAssembly (diff) | |
download | BouncyCastle.NET-ed25519-522deaf74c9c119d360ebf42ca9b803eab029434.tar.xz |
Update defines
Diffstat (limited to 'crypto/test/src/security')
-rw-r--r-- | crypto/test/src/security/test/TestSignerUtil.cs | 6 |
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"); |