gnutls_ocsp_req_init(3)
π gnutls_ocsp_req_init β like, the OCSP request origin story π
okay bestie, so this one lives in the gnutls manual, section 3 (that's the library-functions girlies, iykyk). it's the little "hello world" moment before you go asking a certificate authority about a cert's vibe. let's get into it π
β¨ NAME β¨
gnutls_ocsp_req_init β API function. that's it, that's the name, and honestly? iconic.
πΈ SYNOPSIS πΈ
#include <gnutls/ocsp.h>
int gnutls_ocsp_req_init(gnutls_ocsp_req_t * req);
π¦ ARGUMENTS π¦
gnutls_ocsp_req_t * reqβ a pointer to the type you wanna initialize, bestie. that's the little vessel your OCSP request is about to move into π
π« DESCRIPTION π«
so this function will initialize an OCSP request structure. that's the whole thing. it's giving fresh start, clean slate, main character energy β you hand it the pointer, it sets the structure up, and now you have somewhere to put your request. no cap β¨
π RETURNS π
on success, GNUTLS_E_SUCCESS (0) is returned. otherwise you get a negative error value β so like, if it's negative, something went sideways and you should go check π
π«Ά REPORTING BUGS π«Ά
found a bug? do NOT suffer in silence, 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. so like, take it, share it, just 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, go visit:
https://www.gnutls.org/manual/
and that's the whole page, bestie!! π§ this was gnutls_ocsp_req_init(3) from gnutls 3.8.13, brought to you with love and zero boring manpage prose. 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