diff options
Diffstat (limited to 'cipher/twofish.c')
-rw-r--r-- | cipher/twofish.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cipher/twofish.c b/cipher/twofish.c index 157a13735..fa84e26f1 100644 --- a/cipher/twofish.c +++ b/cipher/twofish.c @@ -987,11 +987,11 @@ twofish_get_info (int algo, size_t *keylen, *keylen = algo==10? 256 : 128; *blocksize = 16; *contextsize = sizeof (TWOFISH_context); - *(int (**)(const TWOFISH_context*, byte*, unsigned))r_setkey + *(int (**)(const TWOFISH_context*, const byte*, unsigned))r_setkey = twofish_setkey; - *(void (**)(const TWOFISH_context*, byte*, byte*))r_encrypt + *(void (**)(const TWOFISH_context*, byte*, const byte*))r_encrypt = twofish_encrypt; - *(void (**)(const TWOFISH_context*, byte*, byte*))r_decrypt + *(void (**)(const TWOFISH_context*, byte*, const byte*))r_decrypt = twofish_decrypt; if( algo == 10 ) |