gnutls_x509_crt_equals2(3)
π gnutls_x509_crt_equals2 π
okay bestie, welcome to the gnutls manual, page for gnutls_x509_crt_equals2(3). pull up a chair, grab a boba, we're doing certificate comparison today and honestly? it's giving low-effort-high-reward. β¨
β¨ NAME β¨
gnutls_x509_crt_equals2 β this function compares a gnutls_x509_crt_t cert with DER data π¦
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
unsigned gnutls_x509_crt_equals2(gnutls_x509_crt_t cert1, const
gnutls_datum_t * der);
like yes, that's the whole thing. two arguments, one answer, no drama. π
π ARGUMENTS π
gnutls_x509_crt_t cert1β the first certificate. she's the main character here πconst gnutls_datum_t * derβ a DER encoded certificate. the contender, the challenger, the one we're vibe-checking against π
π DESCRIPTION π
so basically, this function will compare an X.509 certificate structures, with DER encoded certificate data. that's it. that's the whole plot. you hand her a parsed cert and a blob of raw DER, and she tells you if they're the same girl. fr fr. π
β RETURNS β
on equality, non-zero is returned. otherwise zero.
so like, careful bestie β non-zero means YES they match. it's not the 0 == success convention you're used to. don't get caught out by that one, i'm literally begging π
π¦ SINCE π¦
3.5.0 β she's been around a minute, this one. iconic behavior. β¨
π«Ά REPORTING BUGS π«Ά
found a bug? tell the 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. slay. π
π 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 page bestie, we ate, no crumbs left π
this was brought to you by gnutls 3.8.13, gnutls_x509_crt_equals2(3), mwah, go compare some certs π
β¨π§
π¦ 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