diff src/event/ngx_event_quic_protection.c @ 8578:52ad697f9d1c quic

QUIC: enabled more key-related debug by default.
author Vladimir Homutov <vl@nginx.com>
date Fri, 02 Oct 2020 12:40:49 +0300
parents 0e12c4aca3ab
children eed49b83e18f
line wrap: on
line diff
--- a/src/event/ngx_event_quic_protection.c
+++ b/src/event/ngx_event_quic_protection.c
@@ -165,9 +165,9 @@ ngx_quic_set_initial_secret(ngx_pool_t *
         .len = is_len
     };
 
-#ifdef NGX_QUIC_DEBUG_CRYPTO
     ngx_log_debug0(NGX_LOG_DEBUG_EVENT, pool->log, 0,
                   "quic ngx_quic_set_initial_secret");
+#ifdef NGX_QUIC_DEBUG_CRYPTO
     ngx_quic_hexdump(pool->log, "quic salt", salt, sizeof(salt));
     ngx_quic_hexdump(pool->log, "quic initial secret", is, is_len);
 #endif