summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-07 10:50:20 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-07 10:50:43 +0200
commit2d071df5fc96088aac28f23a3041d64e2e3e22a5 (patch)
tree6cda029f2cd21203068d1085b368a7012ffc26f7
parent02379f74e714eeb9abb91fd47973468f5e48959b (diff)
downloadgnutls-2d071df5fc96088aac28f23a3041d64e2e3e22a5.tar.gz
Use the IANA assigned padding extension number.
-rw-r--r--lib/gnutls_int.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 11d8a86f93..a7157540ff 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -251,6 +251,8 @@ typedef enum recv_state_t {
*/
#define MAX_ALGOS GNUTLS_MAX_ALGORITHM_NUM
+/* http://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml
+ */
typedef enum extensions_t {
GNUTLS_EXTENSION_SERVER_NAME = 0,
GNUTLS_EXTENSION_MAX_RECORD_SIZE = 1,
@@ -263,9 +265,9 @@ typedef enum extensions_t {
GNUTLS_EXTENSION_SRTP = 14,
GNUTLS_EXTENSION_HEARTBEAT = 15,
GNUTLS_EXTENSION_ALPN = 16,
+ GNUTLS_EXTENSION_DUMBFW = 21,
GNUTLS_EXTENSION_SESSION_TICKET = 35,
GNUTLS_EXTENSION_NEW_RECORD_PADDING = 48015, /* aka: 0xbeaf */
- GNUTLS_EXTENSION_DUMBFW = 48016,
GNUTLS_EXTENSION_SAFE_RENEGOTIATION = 65281 /* aka: 0xff01 */
} extensions_t;