gnutls_ocsp_req_randomize_nonce(3)
β¨ NAME β¨
gnutls_ocsp_req_randomize_nonce β bestie, this is literally an API function and it's about to refresh your OCSP request's nonce π
π SYNOPSIS π
#include <gnutls/ocsp.h>
int gnutls_ocsp_req_randomize_nonce(gnutls_ocsp_req_t req);
π¦ ARGUMENTS π¦
gnutls_ocsp_req_t reqβ okay so this one should contain agnutls_ocsp_req_ttype. that's the whole vibe of it. that's the assignment. π
πΈ DESCRIPTION πΈ
So here's the tea, bestie: this function will add or update a nonce extension to the OCSP request, and it fills it in with a newly generated random value. β¨
Like, if your request already has a nonce? It gets updated. If it doesn't? It gets added. Either way, the value is fresh and random, no cap. It's giving "new nonce just dropped" energy π
π RETURNS π
On success, GNUTLS_E_SUCCESS (0) is returned. π
Otherwise? A negative error code comes back. π Not the slay we wanted, but that's the deal β negative means something went sideways.
π«Ά REPORTING BUGS π«Ά
Found a bug? Not me being the bearer of bad news, but please tell the gnutls people:
- 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 bestie, that's the actual legal text, iconic of them 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/
and that's the whole page, babes π
this one's from gnutls 3.8.13, and yeah β the manual name is right there in the title, gnutls_ocsp_req_randomize_nonce(3), we been knew. go randomize that nonce, you got this π¦β¨
π¦ 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