* loadv4.c: Include k5-int.h before des.h for des_read_password
prototype. Pass C_Block * to des_read_password() as per prototype.
* kdb5_util.h: Add prototype for usage.
* kdb5_create.c, kdb5_destroy.c, kdb5_stash.c: Include kdb5_util.h
for usage() prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13317
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-06-08 Ezra Peisach <epeisach@mit.edu>
+
+ * dumpv4.c: Pass C_Block * to des_read_password() as per prototype.
+
+ * loadv4.c: Include k5-int.h before des.h for des_read_password
+ prototype. Pass C_Block * to des_read_password() as per prototype.
+
+ * kdb5_util.h: Add prototype for usage.
+
+ * kdb5_create.c, kdb5_destroy.c, kdb5_stash.c: Include kdb5_util.h
+ for usage() prototype.
+
2001-06-04 Ezra Peisach <epeisach@mit.edu>
* kadm5_create.c: Add prototype for static
}
}
if (!ok) {
- des_read_password(arg->v4_master_key, "V4 Kerberos master key: ", 1);
+ des_read_password(&arg->v4_master_key, "V4 Kerberos master key: ", 1);
printf("\n");
}
arg->master_key_version = 1;
#include <k5-int.h>
#include <kadm5/admin.h>
#include <kadm5/adb.h>
+#include "kdb5_util.h"
enum ap_op {
NULL_KEY, /* setup null keys */
#include "com_err.h"
#include <kadm5/admin.h>
#include <kadm5/adb.h>
+#include "kdb5_util.h"
extern int errno;
extern int exit_status;
#include "com_err.h"
#include <kadm5/admin.h>
#include <stdio.h>
+#include "kdb5_util.h"
extern int errno;
extern void update_ok_file PROTOTYPE((char *file_name));
extern int kadm5_create PROTOTYPE((kadm5_config_params *params));
+
+void usage PROTOTYPE((void));
+
#ifdef KRB5_KRB4_COMPAT
+#include "k5-int.h"
+#include "com_err.h"
+
#include <des.h>
#include <krb.h>
#include <krb_db.h>
static char *v4_mkeyfile = "/.k";
-#include "k5-int.h"
-#include "com_err.h"
#include <kadm5/admin.h>
#include <stdio.h>
/* Define to make certain blocks private */
}
}
if (!ok) {
- des_read_password(master_key, "V4 Kerberos master key: ", 0);
+ des_read_password(&master_key, "V4 Kerberos master key: ", 0);
printf("\n");
}
key_sched(master_key, master_key_schedule);