[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 04:42:53 CEST 2025
Alistair Francis commented on a discussion on lib/tls13/key_update.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1965#note_2693995825
> + *
> + * 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);
Ah, yep I missed that in the rebase. Fixed
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1965#note_2693995825
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/2bf9b94f/attachment-0001.html>
More information about the Gnutls-devel
mailing list