summaryrefslogtreecommitdiffstats
path: root/ssl/tls1.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2014-04-05 20:43:54 +0100
committerDr. Stephen Henson <steve@openssl.org>2014-04-05 20:49:09 +0100
commit6411b83e52fdfd0d3563d50a4dc00838b142fb2c (patch)
treedddb72dc460d9396fa61a7160b7a94c4aaae99b9 /ssl/tls1.h
parentbb98beade96739f7cda7d4ca44743532cd3a33be (diff)
Set TLS padding extension value.
Enable TLS padding extension using official value from: http://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml (cherry picked from commit cd6bd5ffda616822b52104fee0c4c7d623fd4f53) Conflicts: CHANGES
Diffstat (limited to 'ssl/tls1.h')
-rw-r--r--ssl/tls1.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl/tls1.h b/ssl/tls1.h
index 290ec7574f..5ae60a6dd9 100644
--- a/ssl/tls1.h
+++ b/ssl/tls1.h
@@ -233,6 +233,12 @@ extern "C" {
/* ExtensionType value from draft-ietf-tls-applayerprotoneg-00 */
#define TLSEXT_TYPE_application_layer_protocol_negotiation 16
+/* ExtensionType value for TLS padding extension.
+ * http://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml
+ * http://tools.ietf.org/html/draft-agl-tls-padding-03
+ */
+#define TLSEXT_TYPE_padding 21
+
/* ExtensionType value from RFC4507 */
#define TLSEXT_TYPE_session_ticket 35