[gnutls-devel] GnuTLS | add support for 0-RTT (!775)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Mon Oct 29 17:21:28 CET 2018
Daiki Ueno commented on a discussion on lib/record.c:
> + * @data: contains the data to send
> + * @data_size: is the length of the data
> + *
> + * This function has the similar semantics with gnutls_record_send().
> + * The difference is that the data will be sent as early data, and
> + * thus this function must be called before gnutls_handshake() by the
> + * client.
> + *
> + * Returns: The number of bytes sent, or a negative error code. The
> + * number of bytes sent might be less than @data_size. The maximum
> + * number of bytes this function can send in a single call depends
> + * on the negotiated maximum record size.
> + *
> + * Since: 3.6.5
> + **/
> +int gnutls_record_send_early_data(gnutls_session_t session,
Indeed, good catch.
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/775#note_112873774
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel