gnutls_x509_crl_set_next_update(3)
π gnutls_x509_crl_set_next_update β bestie, let's set when your CRL gets its next glow-up
okay so this one lives in the gnutls manual, and it's genuinely one of the chillest little API functions you'll ever meet. it's giving "small but mighty". let's get into it π
β¨ NAME β¨
gnutls_x509_crl_set_next_update β the API function that tells your CRL when it should next be updated π¦
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_crl_set_next_update(gnutls_x509_crl_t crl, time_t
exp_time);
like yes, that's the whole thing. two args, one int back. no cap. β¨
π«Ά ARGUMENTS π«Ά
gnutls_x509_crl_t crlβ this one should contain agnutls_x509_crl_ttype. it's the CRL you're about to touch, bestie, so pls make sure it's actually a CRL and not vibes πtime_t exp_timeβ The actual time. literally just hand over the time you want. that's it. that's the arg. π
π DESCRIPTION π
so the way this works: this function will set the time this CRL will be updated. that's the whole job, and it does it fabulously. π
and here's the tea β this is an optional value to be set on a CRL. you can literally just omit this call when you're generating a CRL and everything will be fine. it's optional-optional. lowkey freeing, honestly. ποΈ
β οΈ but wait, storytime: Prior to GnuTLS 3.5.7, setting a nextUpdate field was required in order to generate a CRL. so if you're time-traveling back to old GnuTLS, you had to set this. mandatory. no skips. periodt. π
β RETURNS β
- on success you get
GNUTLS_E_SUCCESS(0) β iconic, we love a zero π - otherwise it returns a negative error value π (check it, bestie, don't just assume)
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the gnutls girlies:
- 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. π«Ά (yes it's legal to share, just keep the receipts, iykyk)
π 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, go visit:
https://www.gnutls.org/manual/
it's the main character of documentation. go read it. πβ¨
and that's the whole page, bestie!! this came from gnutls 3.8.13 and it's signed off as gnutls_x509_crl_set_next_update(3) β go forth and set those update times, you absolute icon π¦ππΈ
π¦ 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