(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:
@@ -884,7 +884,7 @@ decode_packet(krb5_context context,
|
|||||||
goto out;
|
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) {
|
if(checksum != ad.checksum) {
|
||||||
krb5_warnx(context, "decode_packet: bad checksum");
|
krb5_warnx(context, "decode_packet: bad checksum");
|
||||||
make_you_loose_packet (KADM_BAD_CHK, reply);
|
make_you_loose_packet (KADM_BAD_CHK, reply);
|
||||||
|
Reference in New Issue
Block a user