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 throughgnutls_x509_trust_list_add_cas()and you want them to survive this, that's your one and only reason to pass a zeroall. 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 πΈ
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
- 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