Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1--- a/src/Common/CpuCore.c 2+++ b/src/Common/CpuCore.c 3@@ -96,7 +96,7 @@ 4 derive_key_whirlpool ( word, wordlength+1, salt, PKCS5_SALT_SIZE, 1000, headerKey, cpu_GetMaxPkcs5OutSize ()); 5 else{ 6 perror("Key derivation function not supported"); 7- return; 8+ return 0; 9 } 10 11 value=cpu_Xts(encryptionAlgorithm,encryptedHeader,headerKey,cpu_GetMaxPkcs5OutSize(), masterKey, &length);