gnutls_safe_renegotiation_status(3)

✨ NAME ✨

gnutls_safe_renegotiation_status β€” an API function, bestie πŸ’… (from the gnutls manual, she's famous)


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/gnutls.h>

unsigned gnutls_safe_renegotiation_status(gnutls_session_t session);

🌸 ARGUMENTS 🌸

  • gnutls_session_t session β€” it's a gnutls_session_t type, okay? that's the whole vibe of this argument, she's a session and she's of that type 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

Okay so this one is literally your vibe check for the handshake. You can use gnutls_safe_renegotiation_status to check whether safe renegotiation is being used in the current session. That's it, that's the whole function, and honestly? iconic behavior. 🌈


πŸ’– RETURNS πŸ’–

  • Returns 0 when safe renegotiation is not used.
  • Returns non (0) when safe renegotiation is used.
yes bestie, that's exactly how it's written in the original and I am not about to "fix" it for you β€” read it slowly and you'll get it. 😭

⭐ SINCE ⭐

2.10.0 β€” she's been around, lowkey a legend. πŸ‘‘


πŸŽ€ REPORTING BUGS πŸŽ€

Found a bug? Not the vibe, but okay, tell the devs:


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.


πŸ¦‹ 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/

k that's the whole page bestie, no notes, ate and left no crumbs πŸ“βœ¨

this was gnutls version 3.8.13, and ngl the date is not on the page so I can't give you one β€” but consider this your cute lil sign-off anyway πŸ’–

πŸ“¦ where this page comes from