make it compile w/o krb4

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5859 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-04-07 12:10:59 +00:00
parent 72a89c21e0
commit a8bc3ac62f
5 changed files with 10 additions and 2 deletions

View File

@@ -115,11 +115,11 @@ main (int argc, char **argv)
#if KRB4
if(dest_tkt_flag && dest_tkt ())
exit_val = 1;
#endif
if (unlog_flag && k_hasafs ()) {
if (k_unlog ())
exit_val = 1;
}
#endif
return exit_val;
}

View File

@@ -267,6 +267,7 @@ check_for_tgt (krb5_context context,
return expired;
}
#ifdef KRB4
/*
* Print a list of all AFS tokens
*/
@@ -322,6 +323,7 @@ display_tokens(int do_verbose)
putchar('\n');
}
}
#endif
static int version_flag = 0;
static int help_flag = 0;
@@ -413,8 +415,10 @@ main (int argc, char **argv)
krb5_free_principal (context, principal);
krb5_free_context (context);
#ifdef KRB4
if (!do_test && do_tokens && k_hasafs ())
display_tokens (do_verbose);
#endif
return exit_status;
}