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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Aug 20 11:52:14 CEST 2018


Daiki Ueno commented on a discussion on tests/tls-record-size-limit.c:

> +		fail("client: didn't see max_record_size\n");
> +
> +	if (server_expect_record_size_limit && !server_handshake_cb_data.found_record_size_limit)
> +		fail("server: didn't see record_size_limit\n");
> +	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);

Rewrote the fixtures as structs.

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


More information about the Gnutls-devel mailing list