message if appropriate. No longer call krb5_init_ets(), as it's no
longer necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9314
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Nov 6 09:31:35 1996 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * kinit.c (main): Check the return code from krb5_init_context,
+ and print an error message if appropriate. No longer call
+ krb5_init_ets(), as it's no longer necessary.
+
Tue Sep 10 14:13:52 1996 Tom Yu <tlyu@mit.edu>
* kinit.M: remove ".so man1/header.doc"
int pwsize;
char password[255], *client_name, prompt[255];
- krb5_init_context(&kcontext);
- krb5_init_ets(kcontext);
+ code = krb5_init_context(&kcontext);
+ if (code) {
+ com_err(argv[0], code, "while initializing krb5");
+ exit(1);
+ }
if ((code = krb5_timeofday(kcontext, &now))) {
com_err(argv[0], code, "while getting time of day");