calculated checksum against the provided checksum.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11091
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Dec 10 22:16:14 1998 Tom Yu <tlyu@mit.edu>
+
+ * old_decrypt.c (krb5_old_decrypt): Actually compare the
+ calculated checksum against the provided checksum.
+
1998-11-13 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in: Set the myfulldir and mydir variables (which are
if (ret = ((*(hash->hash))(1, &output, &cksum)))
goto cleanup;
- if (memcmp(cksum.data, output.data+blocksize, cksum.length) != 0) {
+ if (memcmp(cksum.data, cksumdata, cksum.length) != 0) {
ret = KRB5KRB_AP_ERR_BAD_INTEGRITY;
goto cleanup;
}