[gnutls-devel] GnuTLS | Fix issues in record_size_limit extension handling (!879)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Fri Feb 1 17:24:21 CET 2019
Hubert Kario commented on a discussion on lib/ext/max_record.c:
> } else { /* server side */
>
> + if (session->internals.hsk_flags & HSK_RECORD_SIZE_LIMIT_SENT)
> + return 0;
> +
> if (session->security_parameters.max_record_recv_size !=
> DEFAULT_MAX_RECORD_SIZE) {
> ret = _gnutls_mre_record2num
> (session->security_parameters.
> max_record_recv_size);
> -
> - /* it's not an error, as long as we send the
> - * record_size_limit extension with that value */
> if (ret < 0)
> - return 0;
> + return gnutls_assert_val(ret);
I've actually went and implemented it: https://github.com/tomato42/tlsfuzzer/pull/506
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/879#note_137542320
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190201/8f7a4b72/attachment-0001.html>
More information about the Gnutls-devel
mailing list