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
This commit is contained in:
Dr. Stephen Henson 2014-06-07 14:17:44 +01:00
parent fa6bb85ae0
commit c43a55407d

View 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