[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:46:49 CET 2018
Daiki Ueno commented on a discussion on lib/handshake-tls13.c:
> #endif
> FALLTHROUGH;
> case STATE101:
> - ret =
> - generate_and_set_hs_traffic_keys(session);
> STATE = STATE101;
> - IMED_RET_FATAL("generate session keys", ret, 0);
> + if (session->internals.hsk_flags & HSK_EARLY_DATA_ACCEPTED) {
It is possible, but we need to duplicate:
```c
ret = generate_hs_traffic_keys(session);
IMED_RET_FATAL("generate hs traffic keys", ret, 0);
```
in both branches, as it touches `session->key.proto.tls13.temp_secret`. Anyway, did that change.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/775#note_112880134
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/b069c4ff/attachment-0001.html>
More information about the Gnutls-devel
mailing list