summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2014-06-07 14:17:44 +0100
committerDr. Stephen Henson <steve@openssl.org>2014-06-07 15:27:23 +0100
commitc43a55407dccc6902058184d7dd0bd111fe6a61e (patch)
tree4de02599db832d0079a2d642615d1b2284b3a818
parentfa6bb85ae0c1ec9b29b8eb9a0785869fc3111046 (diff)
Add official extension value.
Encrypt then MAC now has an official extension value, see: http://www.ietf.org/id/draft-ietf-tls-encrypt-then-mac-02.txt
-rw-r--r--ssl/tls1.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/tls1.h b/ssl/tls1.h
index 7a3d22a3c8..b51716a02b 100644
--- a/ssl/tls1.h
+++ b/ssl/tls1.h
@@ -243,6 +243,10 @@ extern "C" {
* http://tools.ietf.org/html/draft-agl-tls-padding-03
*/
#define TLSEXT_TYPE_padding 21
+/* Extension type for Encrypt-then-MAC
+ * http://www.ietf.org/id/draft-ietf-tls-encrypt-then-mac-02.txt
+ */
+#define TLSEXT_TYPE_encrypt_then_mac 22
/* ExtensionType value from RFC4507 */
#define TLSEXT_TYPE_session_ticket 35