summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorJan Doskočil <jan.doskocil@nic.cz>2024-07-12 15:24:12 +0200
committerJan Doskočil <jan.doskocil@nic.cz>2024-07-12 16:24:48 +0200
commit80af4bb523f98db15f06b19ec92616954f18e3e1 (patch)
tree8cfe94418779a635ad40b440331191d575854e36 /src/utils
parentdiagnostic macros: force semicolon after statement (diff)
downloadknot-80af4bb523f98db15f06b19ec92616954f18e3e1.tar.xz
knot-80af4bb523f98db15f06b19ec92616954f18e3e1.zip
diagnostic macros: fix occurences of statements without a semicolon
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/common/msg.h2
-rw-r--r--src/utils/common/tls.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/common/msg.h b/src/utils/common/msg.h
index 3ef550f7b..fbd6c8ea2 100644
--- a/src/utils/common/msg.h
+++ b/src/utils/common/msg.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2022 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+/* Copyright (C) 2024 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/src/utils/common/tls.c b/src/utils/common/tls.c
index 1ca977942..4c9a588eb 100644
--- a/src/utils/common/tls.c
+++ b/src/utils/common/tls.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2023 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+/* Copyright (C) 2024 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -398,7 +398,7 @@ int tls_certificate_verification(tls_ctx_t *ctx)
};
size_t data_count = (ctx->params->hostname != NULL) ? 2 : 1;
if (data_count == 1) {
- WARN("TLS, no hostname provided, will not verify certificate owner")
+ WARN("TLS, no hostname provided, will not verify certificate owner");
}
unsigned int status;