Add official extension value.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 7 Jun 2014 13:17:44 +0000 (14:17 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 7 Jun 2014 14:27:23 +0000 (15:27 +0100)
Encrypt then MAC now has an official extension value, see:

http://www.ietf.org/id/draft-ietf-tls-encrypt-then-mac-02.txt

ssl/tls1.h

index 7a3d22a3c89f5ea90e4b9924d28353bf41faf9e8..b51716a02b634907e7c085df9e46ee0adac5846a 100644 (file)
@@ -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