tree-wide: various fixlets suggested by Coccinelle

This commit is contained in:
Frantisek Sumsal
2026-03-05 10:27:58 +01:00
parent a8335fb91f
commit 90f5d2a202
24 changed files with 29 additions and 48 deletions
+2 -2
View File
@@ -284,8 +284,8 @@ int hostname_substitute_wildcards(char *name) {
struct siphash state;
siphash24_init(&state, key.bytes);
siphash24_compress(&mid, sizeof(mid), &state);
siphash24_compress(&counter, sizeof(counter), &state); /* counter mode */
siphash24_compress_typesafe(mid, &state);
siphash24_compress_typesafe(counter, &state); /* counter mode */
h = siphash24_finalize(&state);
left_bits = sizeof(h) * 8;
counter++;