gnutls_handsha...e_receiving_key(3)
β¨ gnutls_handshake_update_receiving_key(3) β¨
okay bestie, so this one lives in the gnutls manual section, and it's literally an API function π no cap.
πΈ NAME πΈ
gnutls_handshake_update_receiving_key β it's an API function, periodt.
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
int gnutls_handshake_update_receiving_key(gnutls_session_t session);
π ARGUMENTS π
gnutls_session_t sessionβ bestie this is agnutls_session_ttype. that's the vibe. it's the session. it's the whole main character of this function fr fr.
π DESCRIPTION π
so the way that this works is: this function will update/refresh the session receiving keys when the TLS protocol is 1.3 or better. slay β¨
but listen, and this is the important part: unlike gnutls_session_key_update(), this function does NOT notify the peer. it will only update the local keys. so it's giving sneaky little private glow-up, not a whole announcement to the group chat π
and if the negotiated version is not TLS 1.3 or better? this function will return GNUTLS_E_INVALID_REQUEST. like, it's not mad, it's just not doing it. no negotiation. no keys. just that error code π
β RETURNS β
GNUTLS_E_SUCCESS on success π otherwise a negative error code (crying, screaming, throwing up π).
π SINCE π
3.8.11 β she's been around since 3.8.11, iykyk π«Ά
π REPORTING BUGS π
found a bug? spill it to <bugs@gnutls.org>. they wanna know fr fr.
home page: https://www.gnutls.org β iconic, go look.
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. so like, take it, share it, just keep the receipts bestie π«Άβ¨
π§ SEE ALSO π§
the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:
https://www.gnutls.org/manual/
go read it, it's giving educated queen behavior π
and that's the whole page, bestie!! this was gnutls manual, version 3.8.13, all about gnutls_handshake_update_receiving_key(3) β local keys only, no peer notification, TLS 1.3 or better, mwah π
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms