summaryrefslogtreecommitdiff
path: root/cipher/md5.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2000-07-14 17:34:52 +0000
committerWerner Koch <wk@gnupg.org>2000-07-14 17:34:52 +0000
commit74386120dad6b3da62db37f7044267c8ef34689b (patch)
tree16fc58b6817d55a9556192a064d573ea8a174a93 /cipher/md5.c
parenteef468f4897c6d46fe46c2a9635151e2257e3dd1 (diff)
downloadlibgcrypt-74386120dad6b3da62db37f7044267c8ef34689b.tar.gz
See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner Koch
Diffstat (limited to 'cipher/md5.c')
-rw-r--r--cipher/md5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cipher/md5.c b/cipher/md5.c
index 161d4430..c4351f1f 100644
--- a/cipher/md5.c
+++ b/cipher/md5.c
@@ -344,10 +344,10 @@ md5_get_info( int algo, size_t *contextsize,
*r_asnoid = asn;
*r_asnlen = DIM(asn);
*r_mdlen = 16;
- *r_init = (void (*)(void *))md5_init;
- *r_write = (void (*)(void *, byte*, size_t))md5_write;
- *r_final = (void (*)(void *))md5_final;
- *r_read = (byte *(*)(void *))md5_read;
+ *(void (**)(MD5_CONTEXT *))r_init = md5_init;
+ *(void (**)(MD5_CONTEXT *, byte*, size_t))r_write = md5_write;
+ *(void (**)(MD5_CONTEXT *))r_final = md5_final;
+ *(byte *(**)(MD5_CONTEXT *))r_read = md5_read;
return "MD5";
}