| 674 | } |
| 675 | |
| 676 | static 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 |
no test coverage detected