diff options
author | Ben Laurie <ben@openssl.org> | 1999-05-15 16:03:26 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-05-15 16:03:26 +0000 |
commit | ac7d07851c1dbbf42496ab1177a5c19a0e6693d8 (patch) | |
tree | 09a0b84636bae0fa9121629b0168d813cfecb06a /crypto/md5/md5_dgst.c | |
parent | 62bad771243209ecec8f9fbbb2e9f1fa8c7aff0d (diff) |
Get rid of casts.
Diffstat (limited to 'crypto/md5/md5_dgst.c')
-rw-r--r-- | crypto/md5/md5_dgst.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/md5/md5_dgst.c b/crypto/md5/md5_dgst.c index 830e04d02a..bab309b3fb 100644 --- a/crypto/md5/md5_dgst.c +++ b/crypto/md5/md5_dgst.c @@ -82,8 +82,9 @@ void MD5_Init(MD5_CTX *c) } #ifndef md5_block_host_order -void md5_block_host_order (MD5_CTX *c, const MD5_LONG *X, int num) +void md5_block_host_order (MD5_CTX *c, const void *data, int num) { + const MD5_LONG *X=data; register unsigned long A,B,C,D; /* * In case you wonder why A-D are declared as long and not @@ -185,7 +186,7 @@ void md5_block_host_order (MD5_CTX *c, const MD5_LONG *X, int num) #endif #ifndef md5_block_data_order -void md5_block_data_order (MD5_CTX *c, const unsigned char *data, int num) +void md5_block_data_order (MD5_CTX *c, const void *data, int num) { register unsigned long A,B,C,D,l; /* |