]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Use the IANA assigned padding extension number.
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 7 Apr 2014 08:50:20 +0000 (10:50 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 7 Apr 2014 08:50:20 +0000 (10:50 +0200)
lib/gnutls_int.h

index 3f0192b7b96946b891a63c20764e014b6f86a746..7762404ca1cd8841829ba85924764c8f7c51fbf8 100644 (file)
@@ -258,6 +258,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,
@@ -270,9 +272,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;