Bug 994883: Use the IANA-assigned value 21 for the TLS padding extension.
authorWan-Teh Chang <wtc@google.com>
Thu, 10 Apr 2014 15:52:53 -0700
changeset 11116 def904ff623bb375d6d18e5fd3deaa399fff31d4
parent 11115 b0c0f8da038fa3b24c802582494190f86ccef5ec
child 11117 c1cf0ec78e130febb89e4bcfae64e73fa43f31e2
push id363
push userwtc@google.com
push dateThu, 10 Apr 2014 22:53:05 +0000
bugs994883
Bug 994883: Use the IANA-assigned value 21 for the TLS padding extension. r=ekr.
lib/ssl/sslt.h
--- a/lib/ssl/sslt.h
+++ b/lib/ssl/sslt.h
@@ -183,17 +183,17 @@ typedef enum {
     ssl_cert_status_xtn              = 5,
 #ifndef NSS_DISABLE_ECC
     ssl_elliptic_curves_xtn          = 10,
     ssl_ec_point_formats_xtn         = 11,
 #endif
     ssl_signature_algorithms_xtn     = 13,
     ssl_use_srtp_xtn                 = 14,
     ssl_app_layer_protocol_xtn       = 16,
+    ssl_padding_xtn                  = 21,
     ssl_session_ticket_xtn           = 35,
     ssl_next_proto_nego_xtn          = 13172,
-    ssl_padding_xtn                  = 35655,
     ssl_renegotiation_info_xtn       = 0xff01	/* experimental number */
 } SSLExtensionType;
 
 #define SSL_MAX_EXTENSIONS             10 /* doesn't include ssl_padding_xtn. */
 
 #endif /* __sslt_h_ */