[gnutls-devel] GnuTLS | WIP: updates in anti-replay subsystem (!805)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Wed Nov 14 15:31:28 CET 2018
Nikos Mavrogiannopoulos commented on a discussion on lib/tls13/anti_replay.c:
> - * gnutls_db_entry_is_expired() work.
> + * gnutls_db_check_entry_expire_time() work.
> */
> p = entry_buffer;
> _gnutls_write_uint32(PACKED_SESSION_MAGIC, p);
> p += 4;
> _gnutls_write_uint32(now.tv_sec, p);
> p += 4;
> - _gnutls_write_uint32(anti_replay->window / 1000, p);
> + window = anti_replay->window / 1000;
> + _gnutls_write_uint32(window, p);
> p += 4;
> entry.data = entry_buffer;
> entry.size = p - entry_buffer;
>
> - ret = session->internals.db_add_func(session->internals.db_ptr,
Makes sense. Will update.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/805#note_117242151
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/20181114/83af6720/attachment-0001.html>
More information about the Gnutls-devel
mailing list