VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-12-07 00:26:33 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-12-07 12:36:07 +0100
commitf10e26fc8959bee9a525020961c77fe6fde6f9d7 (patch)
treeacb00b1765488a7ab5c172d225e753d79a2064c0
parente3af024e5ba0a0b5a18a8b843857c7a92e0ca79d (diff)
downloadVeraCrypt-f10e26fc8959bee9a525020961c77fe6fde6f9d7.tar.gz
VeraCrypt-f10e26fc8959bee9a525020961c77fe6fde6f9d7.zip
Windows Bootloader: fix compilation error following Twofish code changes.
-rw-r--r--src/Crypto/Twofish.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Crypto/Twofish.c b/src/Crypto/Twofish.c
index e6ba86c1..16788378 100644
--- a/src/Crypto/Twofish.c
+++ b/src/Crypto/Twofish.c
@@ -949,7 +949,7 @@ static u4byte mds_rem(u4byte p0, u4byte p1)
/* initialise the key schedule from the user supplied key */
-u4byte *twofish_set_key(TwofishInstance *instance, const u4byte in_key[])
+void twofish_set_key(TwofishInstance *instance, const u4byte in_key[])
{ u4byte i, a, b, me_key[4], mo_key[4];
u4byte *l_key, *s_key;
@@ -990,8 +990,6 @@ u4byte *twofish_set_key(TwofishInstance *instance, const u4byte in_key[])
#ifdef MK_TABLE
gen_mk_tab(instance, s_key);
#endif
-
- return l_key;
};
#endif