fix void * misuse

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2287 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-14 11:47:56 +00:00
parent 5b161bb382
commit 5f2252ef4e

View File

@@ -102,7 +102,7 @@ MD4_DES_verify (void *p, size_t len, const krb5_keyblock *keyblock,
md4_update(&md4, p, len);
md4_finito(&md4, res);
return memcmp (res, other + 8, 16);
return memcmp (res, (u_char *)other + 8, 16);
}
static void
@@ -152,7 +152,7 @@ MD5_DES_verify (void *p, size_t len, const krb5_keyblock *keyblock,
md5_update(&md5, p, len);
md5_finito(&md5, res);
return memcmp (res, other + 8, 16);
return memcmp (res, (u_char *)other + 8, 16);
}
static struct checksum_type cm[] = {