From 49c6ab6f97abc1661ab72ee3add157305e72459a Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Thu, 17 Jan 2019 17:50:49 +0100 Subject: 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 --- lib/ext/record_size_limit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.1