summaryrefslogtreecommitdiff
path: root/lib/hello_ext.c
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2018-08-20 13:17:35 +0000
committerDaiki Ueno <ueno@gnu.org>2018-08-20 13:17:35 +0000
commita42db538c3f01aa76e2c1a2affc39237840c2522 (patch)
treefba9bf12ff6efe65d210a9959e30a1c654c6aaa1 /lib/hello_ext.c
parente30d157cb722efe9d8047369f627b20467ff62a5 (diff)
parent03db8d479fde6921afd4c98fc3df8200f9f014db (diff)
downloadgnutls-a42db538c3f01aa76e2c1a2affc39237840c2522.tar.gz
Merge branch 'tmp-record-size-limit' into 'master'
record_size_limit extension Closes #524 See merge request gnutls/gnutls!733
Diffstat (limited to 'lib/hello_ext.c')
-rw-r--r--lib/hello_ext.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/hello_ext.c b/lib/hello_ext.c
index 6197dd5664..9e30bd5413 100644
--- a/lib/hello_ext.c
+++ b/lib/hello_ext.c
@@ -52,6 +52,7 @@
#include <ext/etm.h>
#include <ext/cookie.h>
#include <ext/early_data.h>
+#include <ext/record_size_limit.h>
#include "extv.h"
#include <num.h>
@@ -92,6 +93,9 @@ static hello_ext_entry_st const *extfunc[MAX_EXT_TYPES+1] = {
#endif
[GNUTLS_EXTENSION_PSK_KE_MODES] = &ext_psk_ke_modes,
[GNUTLS_EXTENSION_PRE_SHARED_KEY] = &ext_pre_shared_key,
+ [GNUTLS_EXTENSION_RECORD_SIZE_LIMIT] = &ext_mod_record_size_limit,
+ /* This must be the last extension registered.
+ */
[GNUTLS_EXTENSION_DUMBFW] = &ext_mod_dumbfw,
};