]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
daemon/tls: downgrade a log line to --verbose mode
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 24 Feb 2020 12:31:11 +0000 (13:31 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Tue, 25 Feb 2020 07:26:35 +0000 (08:26 +0100)
It just reports a failure to show the key-pin hash in the log.

daemon/tls.c

index 8778404e5340ddd0107ec5bbe15c41acba820c61..d7f43fa8d4ac14181854d27f10f3c17cc6280d3a 100644 (file)
@@ -293,7 +293,7 @@ struct tls_ctx_t *tls_new(struct worker_ctx *worker)
                        kr_log_error("[tls] X.509 credentials are missing, and ephemeral credentials failed; no TLS\n");
                        return NULL;
                }
-               kr_log_info("[tls] Using ephemeral TLS credentials:\n");
+               kr_log_info("[tls] Using ephemeral TLS credentials\n");
                tls_credentials_log_pins(net->tls_credentials);
        }
 
@@ -631,7 +631,7 @@ void tls_credentials_log_pins(struct tls_credentials *tls_credentials)
 #else
 void tls_credentials_log_pins(struct tls_credentials *tls_credentials)
 {
-       kr_log_error("[tls] could not calculate RFC 7858 OOB key-pin; GnuTLS 3.4.0+ required\n");
+       kr_log_verbose("[tls] could not calculate RFC 7858 OOB key-pin; GnuTLS 3.4.0+ required\n");
 }
 #endif