diff options
author | Ken Raeburn <raeburn@mit.edu> | 2001-04-10 08:52:35 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2001-04-10 08:52:35 +0000 |
commit | fe16c7f4d7ccff499be9f470f3932a0f14ab7789 (patch) | |
tree | 83c1c6e4a3e6d1f0fe951c20cd850984664eb06d /src/lib/crypto/hmac.c | |
parent | f8614bc3c7e820c9e14ce4dc9ad2b552a3022e8a (diff) | |
download | krb5-fe16c7f4d7ccff499be9f470f3932a0f14ab7789.tar.gz krb5-fe16c7f4d7ccff499be9f470f3932a0f14ab7789.tar.xz krb5-fe16c7f4d7ccff499be9f470f3932a0f14ab7789.zip |
more casting cleanup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13171 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto/hmac.c')
-rw-r--r-- | src/lib/crypto/hmac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/crypto/hmac.c b/src/lib/crypto/hmac.c index 0b856b4ce..763744c0f 100644 --- a/src/lib/crypto/hmac.c +++ b/src/lib/crypto/hmac.c @@ -89,12 +89,12 @@ krb5_hmac(hash, key, icount, input, output) for (i=0; i<icount; i++) { hashin[0].length = blocksize; - hashin[0].data = xorkey; + hashin[0].data = (char *) xorkey; hashin[i+1] = input[i]; } hashout.length = hashsize; - hashout.data = ihash; + hashout.data = (char *) ihash; if ((ret = ((*(hash->hash))(icount+1, hashin, &hashout)))) goto cleanup; @@ -109,7 +109,7 @@ krb5_hmac(hash, key, icount, input, output) /* compute the outer hash */ hashin[0].length = blocksize; - hashin[0].data = xorkey; + hashin[0].data = (char *) xorkey; hashin[1] = hashout; output->length = hashsize; |