gnutls_x509_crl_get_version(3)

✨ gnutls_x509_crl_get_version(3) β€” the gnutls manual, section 3 ✨

okay bestie, welcome to the CRL version peek function πŸ’… this one lives in the gnutls manual (section 3, the library-functions girlies), and it's about as simple as it gets. let's go 🫢


🌸 NAME 🌸

gnutls_x509_crl_get_version β€” literally just an API function, no cap πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

#include <gnutls/x509.h>

int gnutls_x509_crl_get_version(gnutls_x509_crl_t crl);

like. that's the whole thing. one include, one function, one argument. clean. iconic. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_x509_crl_t crl β€” this one should contain a gnutls_x509_crl_t type. that's the vibe check it has to pass, and honestly? it's the only requirement. πŸ“

πŸ’– DESCRIPTION πŸ’–

so the way this works: this function will return the version of the specified CRL. that's it. that's the function. you hand it a CRL, it tells you which version it is, and you move on with your life like the main character you are πŸ‘‘

no drama, no side quests, no surprises. lowkey obsessed with how straightforward this is.


⭐ RETURNS ⭐

it gives you back the version number πŸ’«

…or a negative error code on error 😭 (yes bestie, sometimes things go wrong, and that's when you get the sad little negative number instead)


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found something cursed? don't suffer in silence, tell the devs:


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.

fr fr, that's the whole license situation β€” no royalty, just keep the notice. respect the rules and we all eat 🍽️

🌈 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/

iykyk β€” when in doubt, read the docs πŸ“š


and that's the whole page, bestie 🧚 from the gnutls crew, version 3.8.13, dated with love β€” go forth and version-check those CRLs. periodt πŸ’œ

πŸ“¦ where this page comes from