kdc_preauth.c (check_padata): Fixed error handling; in order for
check_preauth to return successfully, there must be at least one
preauth which succeeded, and no REQUIRED preauth system which failed.
If a preauth is marked SUFFICIENT, then the rest of the preauth list
aren't checked. Fixed bug where when none of the preauth types were
recognized, an error message corresponding to stack garbage was
printed.
main.c (argv): Check the error return from krb5_init_context(), and
print an error message if necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9323
dc483132-0cff-0310-8789-
dd5450dbe970