* Wrappers for ap_log_error/ap_log_cerror/ap_log_rerror which log additional * details of the X509 cert. For ssl_log_xerror, a pool needs to be passed in * as well (for temporary allocation of the cert's subject/issuer name strings, * in the other cases we use the connection and request pool, respectively). */
| 209 | * in the other cases we use the connection and request pool, respectively). |
| 210 | */ |
| 211 | void ssl_log_xerror(const char *file, int line, int level, apr_status_t rv, |
| 212 | apr_pool_t *ptemp, server_rec *s, const X509 *cert, |
| 213 | const char *fmt, ...) |
| 214 | { |
| 215 | if (APLOG_IS_LEVEL(s,level)) { |
| 216 | va_list ap; |
| 217 | va_start(ap, fmt); |
| 218 | ssl_log_cert_error(file, line, level, rv, s, NULL, NULL, ptemp, |
| 219 | cert, fmt, ap); |
| 220 | va_end(ap); |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | void ssl_log_cxerror(const char *file, int line, int level, apr_status_t rv, |
| 225 | conn_rec *c, const X509 *cert, const char *fmt, ...) |
no test coverage detected