(decode_packet): be totally consistent with the prototype of

des_cbc_cksum


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8859 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-07-27 16:22:20 +00:00
parent 99f4a08259
commit 90a23c5f35

View File

@@ -884,7 +884,7 @@ decode_packet(krb5_context context,
goto out;
}
checksum = des_quad_cksum(msg + off, NULL, rlen, 0, &ad.session);
checksum = des_quad_cksum((void *)(msg + off), NULL, rlen, 0, &ad.session);
if(checksum != ad.checksum) {
krb5_warnx(context, "decode_packet: bad checksum");
make_you_loose_packet (KADM_BAD_CHK, reply);