gnutls_session_force_valid(3)

✨ gnutls_session_force_valid ✨

okay bestie, buckle up, because we're diving into a gnutls manual page together πŸ’– this one lives in section 3 of the manual, and it's a lil function called gnutls_session_force_valid πŸŽ€


πŸ’… NAME

gnutls_session_force_valid β€” it's an API function, babes ✨


🌸 SYNOPSIS

#include <gnutls/gnutls.h>

void gnutls_session_force_valid(gnutls_session_t session);

like. that's it. that's the whole thing. no return value, no drama (well, some drama, keep reading 🫢)


πŸ¦‹ ARGUMENTS

  • gnutls_session_t session β€” bestie, this is a gnutls_session_t type. that's literally the whole description, no notes πŸ’€

πŸ”₯ DESCRIPTION

so what does it do? it clears the invalid flag in a session 🌈

which means: sessions that were corrupt, or sessions where invalid data was received, can be re-used. yes. re-used. the vibes are questionable but the flag is gone 😭

⚠️ bestie PLEASE β€” use this only when debugging or experimenting with the TLS protocol. it should not be used in typical applications. this is not a "make my bug disappear" button, it's a "I am actively poking the TLS protocol with a stick" button πŸ™ˆ

πŸŽ€ REPORTING BUGS

found a bug? (iconic of you tbh πŸ‘‘) report it to <bugs@gnutls.org> πŸ’Œ

home page, for when you wanna vibe: https://www.gnutls.org


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 β€” as long as the copyright notice and this notice are preserved 🫢 that's the deal, no cap.


⭐ 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, then bestie, just visit:

https://www.gnutls.org/manual/


and that's the whole page, slay πŸ’… this was gnutls version 3.8.13, and yeah, the copyright dates run 2001-2023 if you were wondering πŸ“ go forth and debug responsibly, mwah πŸ§šπŸ’–

πŸ“¦ where this page comes from