gnutls_ocsp_resp_get_version(3)
π gnutls_ocsp_resp_get_version(3) π
okay bestie, so this is a page from the gnutls manual β like, the whole gnutls manual, and this one lil' slice of it is all about gnutls_ocsp_resp_get_version. it's an API function, which is just a fancy way of saying "a function you can call". no cap. β¨
πΈ NAME πΈ
gnutls_ocsp_resp_get_version β API function π
like... that's the whole name. it does what it says on the tin, queen.
π¦ SYNOPSIS π¦
so here's how you bring her into your life:
#include <gnutls/ocsp.h>
int gnutls_ocsp_resp_get_version(gnutls_ocsp_resp_const_t resp);
yeah that's it. she takes one argument and gives you back an int. simple. iconic. π
π ARGUMENTS π
gnutls_ocsp_resp_const_t respβ this bad boy should contain agnutls_ocsp_resp_ttype. so like, you hand her your OCSP response object and she does her lil' thing with it. that's the vibe. π«Ά
β DESCRIPTION β
okay so here's the tea: this function will return the version of the Basic OCSP Response. π
and like, the funny part? typically this is always 1, indicating version 1. so she's not gonna surprise you, bestie β she's consistent. lowkey the most reliable friend in the group chat. version 1, every time. periodt. π
π RETURNS π
she gives you back the version of the Basic OCSP response... OR a negative error code if something goes wrong. π so like, if you get a negative number back, that's not a version, that's a cry for help. check your error handling, babe. fr fr.
π REPORTING BUGS π
found a bug? don't just scream about it in the group chat β actually tell the devs, they wanna know:
- Report bugs to
<bugs@gnutls.org>. π§ - Home page:
https://www.gnutls.org
they're nice, they'll listen. π«Ά
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
and the legal bit, which slaps honestly: 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, share it, remix it, just keep the receipts. that's the rule. no gatekeeping here.
π§ SEE ALSO π§
the full documentation for gnutls is maintained as a Texinfo manual. so if the /usr/share/doc/gnutls/ directory does not contain the HTML form, go visit:
https://www.gnutls.org/manual/
that's where the whole encyclopedia lives, iykyk. πβ¨
and that's the page, bestie!! this was pulled straight from the gnutls 3.8.13 manual, and the copyright situation covers 2001-2023 Free Software Foundation, Inc., and others. go forth and get that version number (it's 1, it's always 1). 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