diff options
Diffstat (limited to 'crypto/test/src/test/BlockCipherTest.cs')
-rw-r--r-- | crypto/test/src/test/BlockCipherTest.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/test/src/test/BlockCipherTest.cs b/crypto/test/src/test/BlockCipherTest.cs index 855e3a3da..ac6d1af33 100644 --- a/crypto/test/src/test/BlockCipherTest.cs +++ b/crypto/test/src/test/BlockCipherTest.cs @@ -472,11 +472,7 @@ namespace Org.BouncyCastle.Tests SecureRandom rand = new FixedSecureRandom(); -#if PORTABLE - string upper = algorithm.ToUpperInvariant(); -#else string upper = algorithm.ToUpper(CultureInfo.InvariantCulture); -#endif string[] parts = upper.Split('/'); string baseAlgorithm = parts[0]; string mode = parts.Length > 1 ? parts[1] : null; @@ -509,11 +505,7 @@ namespace Org.BouncyCastle.Tests inCipher = CipherUtilities.GetCipher(algorithm); outCipher = CipherUtilities.GetCipher(algorithm); -#if PORTABLE - upper = inCipher.AlgorithmName.ToUpperInvariant(); -#else upper = inCipher.AlgorithmName.ToUpper(CultureInfo.InvariantCulture); -#endif if (!upper.StartsWith(baseAlgorithm)) { Fail("wrong cipher returned!"); |