]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
reactivate the 64bits XXHASH checksum in the block
authorAlain Spineux <alain@baculasystems.com>
Mon, 7 Nov 2022 11:02:39 +0000 (12:02 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:00 +0000 (13:57 +0200)
- the code was deactivated by mistake (to try to compile on windows)

bacula/src/lib/crypto.c

index 117da7a1e2d053c0643a3994a1a9663a3bcaab28..8ab1a8b1308c4e4fba7704023787eb79410c3a93 100644 (file)
@@ -1817,7 +1817,7 @@ int block_cipher_get_key_length(BLOCK_CIPHER_CONTEXT *blk_ctx)
  */
 uint64_t bXXH3_64bits(const void* input, size_t length)
 {
-   return 0;
+   return XXH3_64bits(input, length);
 }
 
 /*