From: Joe Orton Date: Mon, 3 Dec 2007 11:21:02 +0000 (+0000) Subject: * modules/ssl/ssl_engine_log.c (ssl_log_cxerror): Drop 'peer' from the X-Git-Tag: 2.3.0~1180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=454527394887e787e928390d922532b364c9e6b6;p=apache * modules/ssl/ssl_engine_log.c (ssl_log_cxerror): Drop 'peer' from the log message since the passed-in cert may be e.g. the peer's issuer. * modules/ssl/ssl_private.h (ssl_log_cxerror): Don't mention the word peer here either. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@600486 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_log.c b/modules/ssl/ssl_engine_log.c index 71efc401df..2e3d221423 100644 --- a/modules/ssl/ssl_engine_log.c +++ b/modules/ssl/ssl_engine_log.c @@ -132,7 +132,7 @@ void ssl_log_cxerror(const char *file, int line, int level, va_end(ap); ap_log_cerror(file, line, level, rv, c, - "%s [peer subject: %s, issuer: %s, serial: %s]", + "%s [subject: %s, issuer: %s, serial: %s]", buf, sname ? sname : "-unknown-", iname ? iname : "-unknown-", diff --git a/modules/ssl/ssl_private.h b/modules/ssl/ssl_private.h index 3ef08f48a4..46d37c6312 100644 --- a/modules/ssl/ssl_private.h +++ b/modules/ssl/ssl_private.h @@ -689,7 +689,7 @@ int ssl_mutex_off(server_rec *); void ssl_die(void); void ssl_log_ssl_error(const char *, int, int, server_rec *); -/* ssl_log_cxerror is a wrapper for ap_log_cerror which takes the peer +/* ssl_log_cxerror is a wrapper for ap_log_cerror which takes a * certificate as an additional argument and appends details of that * cert to the log message. All other arguments interpreted exactly * as ap_log_cerror. */