diff options
Diffstat (limited to 'cipher')
-rw-r--r-- | cipher/ChangeLog | 4 | ||||
-rw-r--r-- | cipher/twofish.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cipher/ChangeLog b/cipher/ChangeLog index 04df09871..fd8888d10 100644 --- a/cipher/ChangeLog +++ b/cipher/ChangeLog @@ -1,3 +1,7 @@ +Fri Apr 14 19:37:08 CEST 2000 Werner Koch <[email protected]> + + * twofish.c (twofish_get_info): Fixed warning about cast. + Tue Mar 28 14:26:58 CEST 2000 Werner Koch <[email protected]> * random.c [MINGW32]: Include process.h for getpid. diff --git a/cipher/twofish.c b/cipher/twofish.c index fa84e26f1..12982e123 100644 --- a/cipher/twofish.c +++ b/cipher/twofish.c @@ -987,7 +987,8 @@ twofish_get_info (int algo, size_t *keylen, *keylen = algo==10? 256 : 128; *blocksize = 16; *contextsize = sizeof (TWOFISH_context); - *(int (**)(const TWOFISH_context*, const byte*, unsigned))r_setkey + + *(int (**)(TWOFISH_context*, const byte*, const unsigned))r_setkey = twofish_setkey; *(void (**)(const TWOFISH_context*, byte*, const byte*))r_encrypt = twofish_encrypt; |