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

Function ssl_var_lookup_ssl_cert_valid

modules/ssl/ssl_engine_vars.c:676–685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

674}
675
676static char *ssl_var_lookup_ssl_cert_valid(apr_pool_t *p, const ASN1_TIME *tm)
677{
678 BIO* bio;
679
680 if ((bio = BIO_new(BIO_s_mem())) == NULL)
681 return NULL;
682 ASN1_TIME_print(bio, tm);
683
684 return modssl_bio_free_read(p, bio);
685}
686
687#define DIGIT2NUM(x) (((x)[0] - '0') * 10 + (x)[1] - '0')
688

Callers 1

ssl_var_lookup_ssl_certFunction · 0.85

Calls 1

modssl_bio_free_readFunction · 0.85

Tested by

no test coverage detected