Fix bad shift value in verifier function
authorPaul Park <pjpark@mit.edu>
Wed, 26 Jul 1995 13:19:08 +0000 (13:19 +0000)
committerPaul Park <pjpark@mit.edu>
Wed, 26 Jul 1995 13:19:08 +0000 (13:19 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6324 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/crc32/crc.c

index 34152e1d0787d9b29b7b38180eb5d373fb411b2b..023c05aa03d591aff470fce65c54f7d0749d301c 100644 (file)
@@ -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