summaryrefslogtreecommitdiff
path: root/lib/ext/max_record.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-20 10:05:53 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:34 +0100
commit377410a805eb078eefd43def58c01fbf564ff667 (patch)
tree03500703ca7a63e719ccc99903fb991569bab6ca /lib/ext/max_record.c
parent56f3f7f8c381f0556d364cb0fc6e518f55b16361 (diff)
downloadgnutls-377410a805eb078eefd43def58c01fbf564ff667.tar.gz
extensions: use the low-level extension parsing code for hello parsing
That's a step towards unification of TLS-type extension handling for TLS 1.3. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/ext/max_record.c')
-rw-r--r--lib/ext/max_record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext/max_record.c b/lib/ext/max_record.c
index 4f34651476..5b70aba5f2 100644
--- a/lib/ext/max_record.c
+++ b/lib/ext/max_record.c
@@ -47,7 +47,7 @@ static int _gnutls_mre_num2record(int num);
static int _gnutls_mre_record2num(uint16_t record_size);
-const extension_entry_st ext_mod_max_record_size = {
+const hello_ext_entry_st ext_mod_max_record_size = {
.name = "Maximum Record Size",
.tls_id = 1,
.gid = GNUTLS_EXTENSION_MAX_RECORD_SIZE,