mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Various fixes for log message tags:
- Remove tags in ssl_log_ssl_error() and ssl_log_cert_error() - Instead add tags to various ssl_log_xerror, ssl_log_cxerror calls (ssl_log_rxerror is unused). - likewise for modssl_proxy_info_log() - Fix spelling of APLOG_NOERRNO in coccinelle script - add support for ssl_log_*error and ap_log_cserror - add some more tags missing due to APLOG_NOERRNO spelling error - Remove tags from example modules (we don't want people to blindly copy those) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1211680 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1257,8 +1257,9 @@ static void ssl_init_proxy_certs(server_rec *s,
|
||||
if (X509_verify_cert(sctx) != 1) {
|
||||
int err = X509_STORE_CTX_get_error(sctx);
|
||||
ssl_log_xerror(SSLLOG_MARK, APLOG_WARNING, 0, ptemp, s, inf->x509,
|
||||
"SSL proxy client cert chain verification failed: %s :",
|
||||
X509_verify_cert_error_string(err));
|
||||
APLOGNO(02270) "SSL proxy client cert chain "
|
||||
"verification failed: %s :",
|
||||
X509_verify_cert_error_string(err));
|
||||
}
|
||||
|
||||
/* Clear X509_verify_cert errors */
|
||||
@@ -1282,8 +1283,9 @@ static void ssl_init_proxy_certs(server_rec *s,
|
||||
}
|
||||
|
||||
ssl_log_xerror(SSLLOG_MARK, APLOG_DEBUG, 0, ptemp, s, inf->x509,
|
||||
"loaded %i intermediate CA%s for cert %i: ",
|
||||
i, i == 1 ? "" : "s", n);
|
||||
APLOGNO(02271)
|
||||
"loaded %i intermediate CA%s for cert %i: ",
|
||||
i, i == 1 ? "" : "s", n);
|
||||
if (i > 0) {
|
||||
int j;
|
||||
for (j = 0; j < i; j++) {
|
||||
|
Reference in New Issue
Block a user