From a4a2b6403b7e7c4d86178be884e0ef2a6565579d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 18 Apr 2017 22:34:08 +0900 Subject: [PATCH] nghttpx: Use SHRPX_LOGF_TLS_* instead of SHRPX_LOGF_SSL_* --- src/shrpx_log.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/shrpx_log.cc b/src/shrpx_log.cc index b756c87f..edb30b91 100644 --- a/src/shrpx_log.cc +++ b/src/shrpx_log.cc @@ -488,21 +488,21 @@ void upstream_accesslog(const std::vector &lfv, case SHRPX_LOGF_ALPN: std::tie(p, last) = copy_escape(lgsp.alpn, p, last); break; - case SHRPX_LOGF_SSL_CIPHER: + case SHRPX_LOGF_TLS_CIPHER: if (!lgsp.tls_info) { std::tie(p, last) = copy('-', p, last); break; } std::tie(p, last) = copy(lgsp.tls_info->cipher, p, last); break; - case SHRPX_LOGF_SSL_PROTOCOL: + case SHRPX_LOGF_TLS_PROTOCOL: if (!lgsp.tls_info) { std::tie(p, last) = copy('-', p, last); break; } std::tie(p, last) = copy(lgsp.tls_info->protocol, p, last); break; - case SHRPX_LOGF_SSL_SESSION_ID: + case SHRPX_LOGF_TLS_SESSION_ID: if (!lgsp.tls_info || lgsp.tls_info->session_id_length == 0) { std::tie(p, last) = copy('-', p, last); break; @@ -510,7 +510,7 @@ void upstream_accesslog(const std::vector &lfv, std::tie(p, last) = copy_hex_low( lgsp.tls_info->session_id, lgsp.tls_info->session_id_length, p, last); break; - case SHRPX_LOGF_SSL_SESSION_REUSED: + case SHRPX_LOGF_TLS_SESSION_REUSED: if (!lgsp.tls_info) { std::tie(p, last) = copy('-', p, last); break;