[nginx] SSL: shorter debug messages about session tickets.

Sergey Kandaurov pluknet at nginx.com
Thu Oct 13 10:57:22 UTC 2022


details:   https://hg.nginx.org/nginx/rev/e13a271bdd40
branches:  
changeset: 8083:e13a271bdd40
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Wed Oct 12 20:14:51 2022 +0300
description:
SSL: shorter debug messages about session tickets.

diffstat:

 src/event/ngx_event_openssl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r c71e113b57d8 -r e13a271bdd40 src/event/ngx_event_openssl.c
--- a/src/event/ngx_event_openssl.c	Wed Oct 12 20:14:49 2022 +0300
+++ b/src/event/ngx_event_openssl.c	Wed Oct 12 20:14:51 2022 +0300
@@ -4398,7 +4398,7 @@ ngx_ssl_ticket_key_callback(ngx_ssl_conn
         /* encrypt session ticket */
 
         ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0,
-                       "ssl session ticket encrypt, key: \"%*xs\" (%s session)",
+                       "ssl ticket encrypt, key: \"%*xs\" (%s session)",
                        (size_t) 16, key[0].name,
                        SSL_session_reused(ssl_conn) ? "reused" : "new");
 
@@ -4445,7 +4445,7 @@ ngx_ssl_ticket_key_callback(ngx_ssl_conn
         }
 
         ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
-                       "ssl session ticket decrypt, key: \"%*xs\" not found",
+                       "ssl ticket decrypt, key: \"%*xs\" not found",
                        (size_t) 16, name);
 
         return 0;
@@ -4453,7 +4453,7 @@ ngx_ssl_ticket_key_callback(ngx_ssl_conn
     found:
 
         ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0,
-                       "ssl session ticket decrypt, key: \"%*xs\"%s",
+                       "ssl ticket decrypt, key: \"%*xs\"%s",
                        (size_t) 16, key[i].name, (i == 0) ? " (default)" : "");
 
         if (key[i].size == 48) {



More information about the nginx-devel mailing list