diff options
Diffstat (limited to '')
-rw-r--r-- | cipher/idea-stub.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cipher/idea-stub.c b/cipher/idea-stub.c index 7132a1084..efc5268d7 100644 --- a/cipher/idea-stub.c +++ b/cipher/idea-stub.c @@ -109,9 +109,9 @@ dlsym ( void *handle, const char *name ) typedef const char *(*INFO_FNC)(int, size_t*, size_t*, size_t*, - int (**)( void *, byte *, unsigned), - void (**)( void *, byte *, byte *), - void (**)( void *, byte *, byte *)); + int (**)( void *, const byte *, unsigned), + void (**)( void *, byte *, const byte *), + void (**)( void *, byte *, const byte *)); static INFO_FNC load_module (const char *name) @@ -152,11 +152,11 @@ load_module (const char *name) const char * idea_get_info( int algo, size_t *keylen, - size_t *blocksize, size_t *contextsize, - int (**r_setkey)( void *c, byte *key, unsigned keylen ), - void (**r_encrypt)( void *c, byte *outbuf, byte *inbuf ), - void (**r_decrypt)( void *c, byte *outbuf, byte *inbuf ) - ) + size_t *blocksize, size_t *contextsize, + int (**r_setkey)( void *c, const byte *key, unsigned keylen ), + void (**r_encrypt)( void *c, byte *outbuf, const byte *inbuf ), + void (**r_decrypt)( void *c, byte *outbuf, const byte *inbuf ) + ) { static int initialized; static INFO_FNC info_fnc; |