gnutls_x509_privkey_fix(3)
β¨ gnutls_x509_privkey_fix(3) β¨
okay bestie, sit down, we're doing gnutls today π this one lives in the gnutls manual and honestly? it's a lil glow-up function and I'm obsessed.
π NAME π
gnutls_x509_privkey_fix β the API function, the moment, the icon π
π¦ SYNOPSIS π¦
#include <gnutls/x509.h>
int gnutls_x509_privkey_fix(gnutls_x509_privkey_t key);
πΈ ARGUMENTS πΈ
gnutls_x509_privkey_t keyβ a key. that's it. that's the whole argument. she's simple, she's sleek, she's the key ποΈβ¨
π DESCRIPTION π
so the way this works is: this function recalculates the secondary parameters in a key. like, it goes in and redoes the math on the lil supporting cast so everything lines up again.
and specifically, for RSA keys? that means the coefficient and exponent1,2. yup. those ones. she's fixing up the secondary squad so your key is all consistent and correct. it's giving internal makeover energy, no cap π§
β RETURNS β
- on success β
GNUTLS_E_SUCCESS(0) is returned π«Ά slay - otherwise β a negative error value π check it, bestie, don't just vibe past it
π REPORTING BUGS π
found a bug? don't be shy, tell the gnutls girlies:
- Report bugs 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. (yes queen, keep the receipts π)
π 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/
go read it, iykyk πβ¨
fr fr bestie, that's the whole page.gnutls_x509_privkey_fix, recalcs the secondary params, RSA means coefficient and exponent1,2, returnsGNUTLS_E_SUCCESS(0) or a negative error, bugs go to<bugs@gnutls.org>, and the home page is https://www.gnutls.org π
this has been gnutls 3.8.13, page gnutls_x509_privkey_fix(3), from the gnutls manual β mwah, tysm for reading, periodt ππ
π¦
π¦ 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