gnutls_certifi...ree_credentials(3)
π gnutls_certifi...ree_credentials β the "okay bestie, we're DONE here" function π
So this page lives in the gnutls manual, and it's all about gnutls_certificate_free_credentials. Say it with me: free the credentials. That's the whole vibe. Let's get into it. π«Ά
β¨ NAME β¨
gnutls_certificate_free_credentials β and it is, literally, an API function. That's the job. That's what it does. π
πΈ SYNOPSIS πΈ
The way you summon it:
#include <gnutls/gnutls.h>
void
gnutls_certificate_free_credentials(gnutls_certificate_credentials_t
sc);
Notice the void β it gives you nothing back. No return value, no receipts, no drama. It just does the thing and dips. π
π ARGUMENTS π
gnutls_certificate_credentials_t scβ bestie, this is agnutls_certificate_credentials_ttype. That's the whole description. It's the thing you're about to free. Iconic in its simplicity, ngl.
π¦ DESCRIPTION π¦
Okay so here's what's happening: this function frees a gnutls_certificate_credentials_t structure. Cleanup era. π§Ήβ¨
But β and this is the part you cannot skip, pay attention β it does not free any temporary parameters associated with this structure. Like, ie RSA and DH parameters are not freed by this function. So if you were expecting this to sweep up everything, no ma'am. It frees the structure, and only the structure. Those params are somebody else's problem. π
Not me thinking one free call handles everythingβ¦ bestie it does not. Read the fine print. π
π REPORTING BUGS π
Found a bug? Spotted something cursed? Report bugs to <bugs@gnutls.org>.
And if you wanna vibe with the project more broadly: 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, and also legally binding, periodt. π
π 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/
And that's the page, bestie! π Brought to you by gnutls version 3.8.13 β go forth, free those credentials, and remember: the RSA and DH params stay. 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