[gnutls-devel] GnuTLS | record_size_limit extension (!733)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Aug 20 10:28:07 CEST 2018


Nikos Mavrogiannopoulos started a new discussion on tests/tls-record-size-limit.c:

> +	if (!server_expect_record_size_limit && server_handshake_cb_data.found_record_size_limit)
> +		fail("server: did see record_size_limit\n");
> +	if (client_expect_record_size_limit && !client_handshake_cb_data.found_record_size_limit)
> +		fail("client: didn't see record_size_limit\n");
> +	if (!client_expect_record_size_limit && client_handshake_cb_data.found_record_size_limit)
> +		fail("client: did see record_size_limit\n");
> +
> +}
> +
> +void doit(void)
> +{
> +	start("NORMAL:-VERS-ALL:+VERS-TLS1.2", 512, 512, 1, 0, 1, 0);
> +	start("NORMAL:-VERS-ALL:+VERS-TLS1.2", 8192, 8192, 0, 0, 1, 0);
> +	start("NORMAL:-VERS-ALL:+VERS-TLS1.2", 32768, 16384, 0, 0, 1, 0);
> +
> +	start("NORMAL:-VERS-ALL:+VERS-TLS1.3", 512, 512, 1, 0, 1, 1);

Some interesting test cases could also be minimum values (63, 64, as well max+1, 16385).

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/733#note_95447826
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/20180820/ad6dda9d/attachment.html>


More information about the Gnutls-devel mailing list