summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-08-26 14:57:25 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-08-26 14:57:25 +0700
commitf95405955ac379f2fc29fe1b99e3b59304a29a3c (patch)
tree497d78007b3c208311cd2305468a64bbe90a1e6c /crypto/test
parentAdd methods to give readable text for alerts (diff)
downloadBouncyCastle.NET-ed25519-f95405955ac379f2fc29fe1b99e3b59304a29a3c.tar.xz
Initial implementation of draft-ietf-tls-session-hash-01
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/crypto/tls/test/MockTlsClient.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/test/src/crypto/tls/test/MockTlsClient.cs b/crypto/test/src/crypto/tls/test/MockTlsClient.cs
index 893399c8e..a458e32e6 100644
--- a/crypto/test/src/crypto/tls/test/MockTlsClient.cs
+++ b/crypto/test/src/crypto/tls/test/MockTlsClient.cs
@@ -62,6 +62,8 @@ namespace Org.BouncyCastle.Crypto.Tls.Tests
         {
             IDictionary clientExtensions = TlsExtensionsUtilities.EnsureExtensionsInitialised(base.GetClientExtensions());
             TlsExtensionsUtilities.AddEncryptThenMacExtension(clientExtensions);
+            // TODO[draft-ietf-tls-session-hash-01] Enable once code-point assigned (only for compatible server though)
+//            TlsExtensionsUtilities.AddExtendedMasterSecretExtension(clientExtensions);
             TlsExtensionsUtilities.AddMaxFragmentLengthExtension(clientExtensions, MaxFragmentLength.pow2_9);
             TlsExtensionsUtilities.AddTruncatedHMacExtension(clientExtensions);
             return clientExtensions;