[gnutls-devel] GnuTLS | WIP: add support for 0-RTT (!775)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Fri Oct 19 21:18:23 CEST 2018
Nikos Mavrogiannopoulos commented on a discussion on doc/cha-gtls-app.texi:
> +
> + ret = gnutls_record_recv_early_data(session, buffer, sizeof(buffer));
> + assert(ret >= 0);
> +
> + ...
> +
> + return ret;
> +@}
> +
> +int main()
> +@{
> + ...
> +
> + gnutls_handshake_set_hook_function(server, GNUTLS_HANDSHAKE_END_OF_EARLY_DATA,
> + GNUTLS_HOOK_POST, handshake_hook_func);
> + ...
Maybe my interface didn't update the text. The final text is:
https://gitlab.com/gnutls/gnutls/merge_requests/775/diffs#04efa6908cdf650892ddc97766b5fadce0048fc0_919_920
though I liked the example with the callback because most likely that's what a server would use (so that early data are not only received but also processed early).
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/775#note_110383620
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/20181019/86e108f6/attachment.html>
More information about the Gnutls-devel
mailing list