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

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


Nikos Mavrogiannopoulos started a new 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);

That may be because of me, but it would be greatly more readable of the parameters were part of a structure array.

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


More information about the Gnutls-devel mailing list