an error value. Change the error condition to return False (0) instead
of 0xFFFFFFFF.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17127
dc483132-0cff-0310-8789-
dd5450dbe970
+2005-03-15 Jeffrey Altman <jaltman@mit.edu>
+
+ * keyed_cksum.c: (krb5_c_is_keyed_cksum): this is a boolean
+ function. It should not return -1U on error. Instead return
+ 0 (false) so that the caller doesn't think it succeeded.
+
+ The only two callers are rd_safe and mk_safe. Neither checks
+ for special cases.
+
2005-01-13 Ken Raeburn <raeburn@mit.edu>
* prng.c (krb5int_prng_init): Incorporate do_yarrow_init body.
/* ick, but it's better than coredumping, which is what the
old code would have done */
- return -1U;
+ return 0; /* error case */
}
krb5_boolean KRB5_CALLCONV