+Fri Feb 10 18:46:17 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * Makefile.in (ISODELIB): Remove ISODE cruft. Use $(LIBS) so that
+ libsocket can be pulled in if necessary.
+
+ * kdestroy.c (main): Call krb5_init_context to initialize the
+ context.
+
+ * configure.in: Add check for libsocket and libnsl (sigh).
+ krb5_init_ctx drags in cryptoconf.c, which drags in enough
+ of the crypto library that socket() gets called. We should
+ to fix this eventually to make klist smaller, but the fix
+ will be subtle.
+
Fri Jan 13 15:23:47 1995 Chris Provenzano (proven@mit.edu)
* Added krb5_context to all krb5_routines
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
LDFLAGS = -g
-ISODELIB=@ISODELIB@
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
all::
DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB)
kdestroy: kdestroy.o $(DEPKLIB)
- $(CC) $(CFLAGS) -o kdestroy kdestroy.o $(KLIB)
+ $(CC) $(CFLAGS) -o kdestroy kdestroy.o $(KLIB) $(LIBS)
kdestroy.o: $(srcdir)/kdestroy.c
int argc;
char **argv;
{
- krb5_context kcontext;
+ krb5_context kcontext;
int c;
krb5_ccache cache = NULL;
char *cache_name = NULL;
int errflg=0;
int quiet = 0;
+ krb5_init_context(&kcontext);
krb5_init_ets(kcontext);
if (strrchr(argv[0], '/'))