+
+Fri Apr 28 10:14:12 EDT 1995 Paul Park (pjpark@mit.edu)
+ * Use new library libkadm. Remove unused reference to libkdb5.
+ * Use size_t instead of int for size calculations.
+ * Remove inclusion of some unnecessary system include files.
+
Thu Apr 27 16:46:10 EDT 1995 Paul Park (pjpark@mit.edu)
Initial implementation of new kpasswd which uses new administrative
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
SSLIB=$(BUILDTOP)/util/ss/libss.a
DBMLIB=
-KDBLIB=$(TOPLIBD)/libkdb5.a
+KADMLIB=$(TOPLIBD)/libkadm.a
all::
-KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(SSLIB) $(COMERRLIB) $(DBMLIB)
-DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(SSLIB) $(COMERRLIB) $(DBMLIB)
+KLIB = $(KADMLIB) $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(SSLIB) $(COMERRLIB) $(DBMLIB)
+DEPKLIB = $(KADMLIB) $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(SSLIB) $(COMERRLIB) $(DBMLIB)
SRCS = \
$(srcdir)/kpasswd.c
/*
* Include files.
*/
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/param.h>
-
-#include "krb5.h"
+#include "k5-int.h"
#include "adm_defs.h"
#include "adm.h"
/* From now on, all error legs via 'goto cleanup' */
if (name) {
- int prompt_len;
+ size_t prompt_len;
prompt_len = strlen(kpwd_old_pwd_name_fmt) - 2 + strlen(name) + 1;
opwd_prompt = (char *) malloc(prompt_len);