From f10e26fc8959bee9a525020961c77fe6fde6f9d7 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Wed, 7 Dec 2016 00:26:33 +0100 Subject: Windows Bootloader: fix compilation error following Twofish code changes. --- src/Crypto/Twofish.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/Crypto') 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 -- cgit v1.2.3