gnutls_x509_crl_set_this_update(3)

✨ gnutls_x509_crl_set_this_update(3) ✨

okay bestie, welcome to the gnutls manual, section 3, and today's main character is gnutls_x509_crl_set_this_update πŸ’… this is the API function that stamps your CRL with its "this update" time, and honestly? it's giving tiny-but-mighty. let's get into it 🫢


🌸 SYNOPSIS 🌸

#include <gnutls/x509.h>

int gnutls_x509_crl_set_this_update(gnutls_x509_crl_t crl, time_t act_time);

like yes, two args, one int return, no drama πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_x509_crl_t crl β€” should contain a gnutls_x509_crl_t type. that's the CRL you're about to decorate with a timestamp, bestie πŸ¦‹
  • time_t act_time β€” The actual time. that's the moment you wanna record, in time_t form ⏰

πŸ’– DESCRIPTION πŸ’–

This function will set the time this CRL was issued. that's it, that's the whole vibe β€” you hand it a CRL and a time, and it writes that time in as the issuance moment ✨ lowkey iconic how simple that is.


🌈 RETURNS 🌈

On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. so like, zero = slay, negative = not slay, go check what went wrong 😭


πŸ› REPORTING BUGS πŸ›

found a bug? 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, royalty-free and everything πŸ’œ


πŸ”₯ 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, that's where the deep lore lives πŸ“š


and that's the whole page, bestie!! this was gnutls version 3.8.13, page gnutls_x509_crl_set_this_update(3) β€” go set some timestamps, you absolute legend πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from