gnutls_x509_crt_equals(3)

✨ gnutls_x509_crt_equals(3) ✨

okay bestie, welcome to the gnutls manual, page gnutls_x509_crt_equals πŸ’– this one is short and sweet, which honestly? iconic. lowkey a palate cleanser.


🌸 NAME 🌸

gnutls_x509_crt_equals β€” this function compares two gnutls_x509_crt_t certificates 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <gnutls/x509.h>

unsigned gnutls_x509_crt_equals(gnutls_x509_crt_t cert1,
       gnutls_x509_crt_t cert2);

like. that's the whole thing. no cap. πŸ’…


πŸ’œ ARGUMENTS πŸ’œ

  • gnutls_x509_crt_t cert1 β€” the first certificate, your main character πŸ‘‘
  • gnutls_x509_crt_t cert2 β€” the second certificate, the one it's getting vibe-checked against πŸ¦‹

🌈 DESCRIPTION 🌈

This function will compare two X.509 certificate structures. that's it, that's the whole plot ✨ two certs walk in, we find out if they're literally the same girl or not.


⭐ RETURNS ⭐

On equality, non-zero is returned. otherwise zero. so: non-zero = they're twins πŸ’–, zero = not the same πŸ₯€

fr fr keep that straight in your head β€” this is not the "0 means success" situation you're used to. non-zero is the yes here. iykyk πŸ’€

πŸ¦‹ SINCE πŸ¦‹

3.5.0 β€” she's been around a minute, she's established πŸ’…


😭 REPORTING BUGS 😭

found a bug? tell the gnutls girlies about it, they wanna know:


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


that's the page, bestie πŸŽ€ this was gnutls version 3.8.13, and yeah it's literally titled gnutls_x509_crt_equals(3) β€” go compare ur certs, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from