[rs-commit] r61 - /mod_ca/trunk/mod_ca_crl.c
rs-commit at redwax.eu
rs-commit at redwax.eu
Thu Aug 29 00:39:56 CEST 2019
Author: minfrin at redwax.eu
Date: Thu Aug 29 00:39:53 2019
New Revision: 61
Log:
Handle another instance of X509_CRL_get0_lastUpdate.
Modified:
mod_ca/trunk/mod_ca_crl.c
Modified: mod_ca/trunk/mod_ca_crl.c
==============================================================================
--- mod_ca/trunk/mod_ca_crl.c (original)
+++ mod_ca/trunk/mod_ca_crl.c Thu Aug 29 00:39:53 2019
@@ -302,7 +302,11 @@
}
/* return the next update (if present) */
+#if HAVE_X509_CRL_GET0_NEXTUPDATE
nextupdate = X509_CRL_get0_nextUpdate(conf->crl);
+#else
+ nextupdate = X509_CRL_get_nextUpdate(conf->crl);
+#endif
if (nextupdate) {
apr_hash_set(certstatus, CA_NEXT_UPDATE, APR_HASH_KEY_STRING,
make_ASN1_TIME(r->pool, nextupdate));
More information about the rs-commit
mailing list