summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2013-12-18 20:17:28 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-12-18 20:17:28 +0700
commit43ad3b20493dd3c98d38de0e26747963708a83c8 (patch)
treeee29248f4ded8eae3e16bf4e3d9b7e94aebe941a
parentPort of PrfAlgorithm and ProtocolVersion from Java TLS (diff)
downloadBouncyCastle.NET-ed25519-43ad3b20493dd3c98d38de0e26747963708a83c8.tar.xz
Use Platform.ToUpperInvariant
-rw-r--r--crypto/src/crypto/tls/ProtocolVersion.cs2
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);
         }
     }