[gnutls-devel] GnuTLS | add support for 0-RTT (!775)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Oct 29 13:51:20 CET 2018


Nikos Mavrogiannopoulos started a new discussion on lib/ext/early_data.c:

>  
> +/**
> + * gnutls_record_get_max_early_data_size:
> + * @session: is a #gnutls_session_t type.
> + *
> + * This function gets the maximum early data size in this connection.
> + * This property can only be set to servers.  The client may be
> + * provided with the maximum allowed size through the "early_data"
> + * extension of the NewSessionTicket handshake message.
> + *
> + * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
> + *   otherwise a negative error code is returned.
> + *
> + * Since: 3.6.5
> + **/
> +ssize_t

If it always returns a positive number, maybe `size_t` is more suitable.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/775#note_112778660
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/20181029/8ac0e75e/attachment.html>


More information about the Gnutls-devel mailing list