From: Petr Špaček Date: Thu, 29 Mar 2018 11:36:18 +0000 (+0200) Subject: tls_client: unify spelling tls-client -> tls_client X-Git-Tag: v2.3.0~8^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4944023ceb6534a67314580df7aa8480093ef26b;p=thirdparty%2Fknot-resolver.git tls_client: unify spelling tls-client -> tls_client --- diff --git a/daemon/tls.c b/daemon/tls.c index ea56c449d..cc57b42f4 100644 --- a/daemon/tls.c +++ b/daemon/tls.c @@ -46,7 +46,7 @@ #endif static char const server_logstring[] = "tls"; -static char const client_logstring[] = "tls-client"; +static char const client_logstring[] = "tls_client"; static int client_verify_certificate(gnutls_session_t tls_session); @@ -171,7 +171,7 @@ void tls_close(struct tls_common_ctx *ctx) if (ctx->handshake_state == TLS_HS_DONE) { kr_log_verbose("[%s] closing tls connection to `%s`\n", - ctx->client_side ? "tls-client" : "tls", + ctx->client_side ? "tls_client" : "tls", kr_straddr(&ctx->session->peer.ip)); ctx->handshake_state = TLS_HS_CLOSING; gnutls_bye(ctx->tls_session, GNUTLS_SHUT_RDWR); diff --git a/daemon/worker.c b/daemon/worker.c index b2c6a904a..5ee02fa08 100644 --- a/daemon/worker.c +++ b/daemon/worker.c @@ -904,7 +904,7 @@ ssize_t worker_gnutls_push(gnutls_transport_ptr_t h, const void *buf, size_t len t->session->handle->type == UV_TCP); VERBOSE_MSG(NULL,"[%s] push %zu <%p>\n", - t->client_side ? "tls-client" : "tls", len, h); + t->client_side ? "tls_client" : "tls", len, h); struct worker_ctx *worker = t->worker; assert(worker); @@ -948,7 +948,7 @@ ssize_t worker_gnutls_push(gnutls_transport_ptr_t h, const void *buf, size_t len worker->stats.ipv4 += 1; } else { VERBOSE_MSG(NULL,"[%s] uv_write: %s\n", - t->client_side ? "tls-client" : "tls", uv_strerror(res)); + t->client_side ? "tls_client" : "tls", uv_strerror(res)); iorequest_release(worker, ioreq); errno = EIO; }