diff options
author | Peter Dettman <peter.dettman@gmail.com> | 2022-06-15 23:47:08 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@gmail.com> | 2022-06-15 23:47:08 +0700 |
commit | dfc2d102c7260725546be008a8ff62d28b2189eb (patch) | |
tree | cf130e057f103ab50d5ae09c513e45d42313404b /crypto/test/src/security | |
parent | Add Highest/LowestOneBit methods (diff) | |
download | BouncyCastle.NET-ed25519-dfc2d102c7260725546be008a8ff62d28b2189eb.tar.xz |
Updates towards netstandard
Diffstat (limited to 'crypto/test/src/security')
-rw-r--r-- | crypto/test/src/security/test/TestSignerUtil.cs | 4 |
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 |