From: Paul Park Date: Wed, 26 Jul 1995 13:19:08 +0000 (+0000) Subject: Fix bad shift value in verifier function X-Git-Tag: krb5-1.0-beta6~1496 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f987b79a36c77d88167d8be7bb08a3f6f74ec366;p=krb5.git Fix bad shift value in verifier function git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6324 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/crc32/crc.c b/src/lib/crypto/crc32/crc.c index 34152e1d0..023c05aa0 100644 --- a/src/lib/crypto/crc32/crc.c +++ b/src/lib/crypto/crc32/crc.c @@ -200,7 +200,7 @@ size_t seed_length; if ((cksum->contents[0] != (krb5_octet) (c & 0xff)) || (cksum->contents[1] != (krb5_octet) ((c >> 8) & 0xff)) || (cksum->contents[2] != (krb5_octet) ((c >> 16) & 0xff)) || - (cksum->contents[3] != (krb5_octet) ((c >> 32) & 0xff))) + (cksum->contents[3] != (krb5_octet) ((c >> 24) & 0xff))) retval = KRB5KRB_AP_ERR_BAD_INTEGRITY; } else