MCPcopy Create free account
hub / github.com/apache/httpd / md_cert_is_valid_now

Function md_cert_is_valid_now

modules/md/md_crypt.c:1257–1261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1255}
1256
1257int md_cert_is_valid_now(const md_cert_t *cert)
1258{
1259 return ((X509_cmp_current_time(X509_get_notBefore(cert->x509)) < 0)
1260 && (X509_cmp_current_time(X509_get_notAfter(cert->x509)) > 0));
1261}
1262
1263int md_cert_has_expired(const md_cert_t *cert)
1264{

Callers 1

md_cert_state_getFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected