提交 c43a5540 编写于 作者: D Dr. Stephen Henson

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
上级 fa6bb85a
...@@ -243,6 +243,10 @@ extern "C" { ...@@ -243,6 +243,10 @@ extern "C" {
* http://tools.ietf.org/html/draft-agl-tls-padding-03 * http://tools.ietf.org/html/draft-agl-tls-padding-03
*/ */
#define TLSEXT_TYPE_padding 21 #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 */ /* ExtensionType value from RFC4507 */
#define TLSEXT_TYPE_session_ticket 35 #define TLSEXT_TYPE_session_ticket 35
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册