(main): handle krb5_init_context failure consistently

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9443 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-12-31 08:05:03 +00:00
parent a7f81756f8
commit 633782864b
22 changed files with 72 additions and 29 deletions

View File

@@ -540,7 +540,7 @@ display_v5_ccache (const char *cred_cache, int do_test, int do_verbose,
ret = krb5_init_context (&context);
if (ret)
krb5_err(context, 1, ret, "krb5_init_context");
errx (1, "krb5_init_context failed: %d", ret);
if(cred_cache) {
ret = krb5_cc_resolve(context, cred_cache, &ccache);