diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-12-18 20:17:28 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-12-18 20:17:28 +0700 |
commit | 43ad3b20493dd3c98d38de0e26747963708a83c8 (patch) | |
tree | ee29248f4ded8eae3e16bf4e3d9b7e94aebe941a | |
parent | Port of PrfAlgorithm and ProtocolVersion from Java TLS (diff) | |
download | BouncyCastle.NET-ed25519-43ad3b20493dd3c98d38de0e26747963708a83c8.tar.xz |
Use Platform.ToUpperInvariant
-rw-r--r-- | crypto/src/crypto/tls/ProtocolVersion.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/crypto/tls/ProtocolVersion.cs b/crypto/src/crypto/tls/ProtocolVersion.cs index 4d45e4a07..b0d55183a 100644 --- a/crypto/src/crypto/tls/ProtocolVersion.cs +++ b/crypto/src/crypto/tls/ProtocolVersion.cs @@ -152,7 +152,7 @@ namespace Org.BouncyCastle.Crypto.Tls TlsUtilities.CheckUint8(minor); int v = (major << 8) | minor; - String hex = Convert.ToString(0x10000 | v, 16).Substring(1).ToUpperInvariant(); + String hex = Platform.ToUpperInvariant(Convert.ToString(0x10000 | v, 16).Substring(1)); return new ProtocolVersion(v, prefix + " 0x" + hex); } } |