summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-07-23 15:15:42 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-07-23 15:15:42 +0700
commit0f6fb7c6c3d47f20ef1938331b5c362ef26761ca (patch)
tree1d21308d78de4db7a9593cf9763a228ee841837f /crypto/src
parentPort of encoding fix from Java (diff)
downloadBouncyCastle.NET-ed25519-0f6fb7c6c3d47f20ef1938331b5c362ef26761ca.tar.xz
Update encrypt_then_mac entry
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/crypto/tls/ExtensionType.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/src/crypto/tls/ExtensionType.cs b/crypto/src/crypto/tls/ExtensionType.cs
index 4e265c358..929c134d5 100644
--- a/crypto/src/crypto/tls/ExtensionType.cs
+++ b/crypto/src/crypto/tls/ExtensionType.cs
@@ -49,11 +49,9 @@ namespace Org.BouncyCastle.Crypto.Tls
         public const int session_ticket = 35;
 
         /*
-         * draft-gutmann-tls-encrypt-then-mac-05
-         * 
-         * NOTE: This value has not yet been reserved by the IETF 
+         * draft-ietf-tls-encrypt-then-mac-03
          */
-        public static readonly int encrypt_then_mac = 66;
+        public const int encrypt_then_mac = 22;
 
         /*
          * RFC 5746 3.2.