From: Christophe Jaillet Date: Sat, 10 Aug 2019 01:02:02 +0000 (+0000) Subject: Fix to allow the logging of SSL_CIPHER variable (instead of SSL_COPHER) X-Git-Tag: 2.5.0-alpha2-ci-test-only~1935 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7998502889ba0e12002d0ec5af1b02e53825e13e;p=thirdparty%2Fapache%2Fhttpd.git Fix to allow the logging of SSL_CIPHER variable (instead of SSL_COPHER) (reported by eric-therond in GitHub issue #60) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1864834 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/loggers/mod_log_json.c b/modules/loggers/mod_log_json.c index a6087b20652..021cd6cb30c 100644 --- a/modules/loggers/mod_log_json.c +++ b/modules/loggers/mod_log_json.c @@ -108,7 +108,7 @@ log_json(request_rec *r, char *a) r->pool, r->server, r->connection, r, "SSL_PROTOCOL"))); json_object_set_new_nocheck(tls, "cipher", json_string(log_json_ssl_lookup( - r->pool, r->server, r->connection, r, "SSL_COPHER"))); + r->pool, r->server, r->connection, r, "SSL_CIPHER"))); json_object_set_new_nocheck(tls, "client_verify", json_string(log_json_ssl_lookup( r->pool, r->server, r->connection, r, "SSL_CLIENT_VERIFY")));