GNUTLS_GLOBAL_SET_AUDIT_LOG_FUNCTION(3)

✨ gnutls_global_set_audit_log_function β€” API function ✨

okay bestie, welcome to the gnutls manual page for gnutls_global_set_audit_log_function, and yes we're doing the whole thing, no skimming, no skipping πŸ’…


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

void gnutls_global_set_audit_log_function(gnutls_audit_log_func
log_func);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_audit_log_func log_func β€” bestie, this is the audit log function. that's it. that's the whole argument. it's the function you're handing over so gnutls knows where to send the tea πŸ«–

πŸ’– DESCRIPTION πŸ’–

so this is the function that sets the audit logging function. it's giving important-issues-reporter β€” think possible attacks in the protocol, the whole dramatic situation 😭. like, this is the function you call when you want gnutls to actually tell you when something sketchy is going down.

and the way that it's different from gnutls_global_set_log_function() is iconic honestly: this one will report also session-specific events. periodt. more coverage, more vibes, more info πŸ¦‹

heads up: the session parameter will be null if there is no corresponding TLS session. so don't be surprised when it's a little empty in there πŸ™ˆ

and gnutls_audit_log_func is of the form:

void (*gnutls_audit_log_func)(gnutls_session_t, const char*);

lowkey that's the whole shape of it, keep it exactly like that, no cap ✨


⭐ SINCE ⭐

3.0 β€” she's been here since 3.0, a true veteran πŸ‘‘


😭 REPORTING BUGS 😭

found a bug? not the vibe. report it to:

  • bugs@gnutls.org

home page is right here, go look:


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. (translation: it's free, 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/

iykyk πŸ’–


okay that's the whole page, mwah πŸ’‹ this was gnutls version 3.8.13, go forth and audit those logs, you absolute main character 🫢🌸

πŸ“¦ where this page comes from