You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2019/08/10 01:02:03 UTC

svn commit: r1864834 - /httpd/httpd/trunk/modules/loggers/mod_log_json.c

Author: jailletc36
Date: Sat Aug 10 01:02:02 2019
New Revision: 1864834

URL: http://svn.apache.org/viewvc?rev=1864834&view=rev
Log:
Fix to allow the logging of SSL_CIPHER variable (instead of SSL_COPHER)

(reported by  eric-therond in GitHub issue #60)

Modified:
    httpd/httpd/trunk/modules/loggers/mod_log_json.c

Modified: httpd/httpd/trunk/modules/loggers/mod_log_json.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/loggers/mod_log_json.c?rev=1864834&r1=1864833&r2=1864834&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/loggers/mod_log_json.c (original)
+++ httpd/httpd/trunk/modules/loggers/mod_log_json.c Sat Aug 10 01:02:02 2019
@@ -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")));