+Thu Sep 14 17:36:11 1995 Mark Eichin <eichin@cygnus.com>
-
+ * krb524d.c (usage): needs to get context to pass to
+ cleanup_and_exit so it does get freed, since it is allocated
+ before parsing arguments.
+ (main): change caller as well.
Wed Sep 06 14:20:57 1995 Chris Provenzano (proven@mit.edu)
void init_keytab(), init_master(), cleanup_and_exit();
krb5_error_code do_connection(), lookup_service_key(), kdc_get_server_key();
-void usage()
+void usage(context)
+ krb5_context context;
{
fprintf(stderr, "Usage: %s [-m[aster]] [-k[eytab]]\n", whoami);
- cleanup_and_exit(1, NULL);
+ cleanup_and_exit(1, context);
}
RETSIGTYPE request_exit(signo)
}
if (argc || use_keytab + use_master > 1 ||
use_keytab + use_master == 0)
- usage();
+ usage(context);
signal(SIGINT, request_exit);
signal(SIGHUP, request_exit);