Add official extension value.
[openssl.git] / 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