diff options
author | Daiki Ueno <dueno@redhat.com> | 2019-01-17 17:50:49 +0100 |
---|---|---|
committer | Daiki Ueno <dueno@redhat.com> | 2019-01-23 17:53:35 +0100 |
commit | 49c6ab6f97abc1661ab72ee3add157305e72459a (patch) | |
tree | 4beec57c71072f4db895aaa3ff211cdf905fb46e /lib/ext | |
parent | e33c22b68d5cc5c4140ac9d9b1d96d130c488af3 (diff) | |
download | gnutls-49c6ab6f97abc1661ab72ee3add157305e72459a.tar.gz |
ext/record_size_limit: mark it as mandatory extension
In a resuming session record_size_limit is always renegotiated, and
thus the server should parse the extension always.
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Diffstat (limited to 'lib/ext')
-rw-r--r-- | lib/ext/record_size_limit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext/record_size_limit.c b/lib/ext/record_size_limit.c index 35b5e446d2..c74ae81e4b 100644 --- a/lib/ext/record_size_limit.c +++ b/lib/ext/record_size_limit.c @@ -39,7 +39,7 @@ const hello_ext_entry_st ext_mod_record_size_limit = { .name = "Record Size Limit", .tls_id = 28, .gid = GNUTLS_EXTENSION_RECORD_SIZE_LIMIT, - .parse_type = GNUTLS_EXT_TLS, + .parse_type = GNUTLS_EXT_MANDATORY, .validity = GNUTLS_EXT_FLAG_TLS | GNUTLS_EXT_FLAG_DTLS | GNUTLS_EXT_FLAG_CLIENT_HELLO | GNUTLS_EXT_FLAG_EE | GNUTLS_EXT_FLAG_TLS12_SERVER_HELLO, .recv_func = _gnutls_record_size_limit_recv_params, |