gnutls_x509_trust_list_deinit(3)

πŸ’– gnutls_x509_trust_list_deinit β€” the API function πŸ’–

okay bestie, so this one lives in the gnutls manual, and it's literally the "we're so done here, pack it up" function for your trust list. no cap. it's giving cleanup era. ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <gnutls/x509.h>

void gnutls_x509_trust_list_deinit(gnutls_x509_trust_list_t list,
                                   unsigned int all);

🌸 ARGUMENTS 🌸

  • gnutls_x509_trust_list_t list β€” the list you're deinitializing, aka the one getting the goodbye hug 🫢
  • unsigned int all β€” if this is non-zero, it will deinitialize all the certificates and CRLs contained in the structure. like, everything. all of it. πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

so this function deinitializes a trust list. that's the whole vibe. it puts the list to bed. πŸ›οΈ

and here's the tea bestie: that all flag should typically be non-zero β€” unless you specified your certificates using gnutls_x509_trust_list_add_cas() and you want to prevent them from being deinitialized by this function. yes, that's the exact exception. remember it, it's important. πŸ‘‘

fr fr, if you added your CAs through gnutls_x509_trust_list_add_cas() and you want them to survive this, that's your one and only reason to pass a zero all. otherwise? non-zero. periodt.

⭐ SINCE ⭐

3.0.0 β€” she's been iconic since day one, lowkey a veteran. πŸ‘‘


πŸ¦‹ REPORTING BUGS πŸ¦‹

found a bug? not me gatekeeping β€” report it to <bugs@gnutls.org>. πŸ’Œ

home page: 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 provided the copyright notice and this notice are preserved. slay, honestly. πŸ’–


🧚 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/

like, go read it. it's right there. iykyk πŸ“šβœ¨


and that's the whole page, bestie β€” gnutls 3.8.13, brought to you by the gnutls girlies. mwah. πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from