libraries. Although the program can write out a v4 srvtab, the one
necessary function is here.
* ktutil_funcs.c (ktutil_read_keytab): Add explicit braces to
avoid ambiguous `else'.
(getstr): register count -> register int count
* ktutil.c (main): ss_listen() takes only one argument.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12524
dc483132-0cff-0310-8789-
dd5450dbe970
+2000-07-03 Ezra Peisach <epeisach@mit.edu>
+
+ * Makefile.in (ktutil): Do not link with the V4
+ libraries. Although the program can write out a v4 srvtab, the one
+ necessary function is here.
+
+ * ktutil_funcs.c (ktutil_read_keytab): Add explicit braces to
+ avoid ambiguous `else'.
+ (getstr): register count -> register int count
+
+ * ktutil.c (main): ss_listen() takes only one argument.
+
2000-05-19 Ken Raeburn <raeburn@mit.edu>
* ktutil_funcs.c (ktutil_write_keytab): Reject a filename that's
all:: ktutil
-ktutil: ktutil.o $(OBJS) $(SS_DEPLIB) $(KRB4COMPAT_DEPLIBS)
- $(CC_LINK) -o ktutil $(OBJS) $(SS_LIB) $(KRB4COMPAT_LIBS)
+ktutil: ktutil.o $(OBJS) $(SS_DEPLIB) $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o ktutil $(OBJS) $(SS_LIB) $(KRB5_BASE_LIBS)
install::
$(INSTALL_PROGRAM) ktutil ${DESTDIR}$(ADMIN_BINDIR)/ktutil
ss_perror(sci_idx, retval, "creating invocation");
exit(1);
}
- ss_listen(sci_idx, &retval);
+ retval = ss_listen(sci_idx);
ktutil_free_kt_list(kcontext, ktlist);
exit(0);
}
}
if (entry)
free((char *)entry);
- if (retval)
+ if (retval) {
if (retval == KRB5_KT_END)
retval = 0;
else {
if (back)
back->next = NULL;
}
+ }
if (!*list)
*list = tail;
krb5_kt_end_seq_get(context, kt, &cursor);
register char *s;
int n;
{
- register count = n;
+ register int count = n;
while (fread(s, 1, 1, fp) > 0 && --count)
if (*s++ == '\0')
return (n - count);