From f987b79a36c77d88167d8be7bb08a3f6f74ec366 Mon Sep 17 00:00:00 2001 From: Paul Park Date: Wed, 26 Jul 1995 13:19:08 +0000 Subject: [PATCH] Fix bad shift value in verifier function git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6324 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/crc32/crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2