[gnutls-devel] GnuTLS | tls13/key_update: Expose a manual KeyUpdate function (!1965)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Tue Aug 19 03:52:37 CEST 2025
Daiki Ueno started a new discussion on lib/tls13/key_update.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1965#note_2693954257
> + *
> + * Returns: %GNUTLS_E_SUCCESS on success, otherwise a negative error code.
> + *
> + * Since: 3.8.10
> + **/
> +int gnutls_handshake_trigger_key_update(gnutls_session_t session)
> +{
> + int ret;
> + const version_entry_st *vers = get_version(session);
> +
> + if (!vers->tls13_sem)
> + return GNUTLS_E_INVALID_REQUEST;
> +
> + _gnutls_epoch_gc(session);
> +
> + ret = update_keys(session, STAGE_UPD_PEERS);
I suspect that this no longer compiles, as `update_keys` has been split into `update_sending_keys` and `update_receiving_keys` in !1990.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1965#note_2693954257
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/20250819/ac4e0dab/attachment-0001.html>
More information about the Gnutls-devel
mailing list