summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorPaul Park <pjpark@mit.edu>1995-07-26 13:19:08 +0000
committerPaul Park <pjpark@mit.edu>1995-07-26 13:19:08 +0000
commitf987b79a36c77d88167d8be7bb08a3f6f74ec366 (patch)
tree7bb4f1620e0e3de48ec4f164e3b84c5be4f807ea /src/lib
parentb8d5b0d052ebb2599d45540980c2f92fe38f08d3 (diff)
downloadkrb5-f987b79a36c77d88167d8be7bb08a3f6f74ec366.tar.gz
krb5-f987b79a36c77d88167d8be7bb08a3f6f74ec366.tar.xz
krb5-f987b79a36c77d88167d8be7bb08a3f6f74ec366.zip
Fix bad shift value in verifier function
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6324 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/crypto/crc32/crc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypto/crc32/crc.c b/src/lib/crypto/crc32/crc.c
index 34152e1d07..023c05aa03 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