drop keyfile, not used

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13923 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-06-12 07:49:29 +00:00
parent 4bae6714d1
commit 37f8d9add9

View File

@@ -38,7 +38,6 @@ RCSID("$Id$");
static char *check_library = NULL;
static char *check_function = NULL;
static char *config_file;
static char *keyfile;
static char *keytab_str = "HDB:";
static int help_flag;
static int version_flag;
@@ -51,10 +50,6 @@ static struct getargs args[] = {
"config-file", 'c', arg_string, &config_file,
"location of config file", "file"
},
{
"key-file", 'k', arg_string, &keyfile,
"location of master key file", "file"
},
{
"keytab", 0, arg_string, &keytab_str,
"what keytab to use", "keytab"
@@ -137,13 +132,6 @@ main(int argc, char **argv)
if (ret)
krb5_err(context, 1, ret, "krb5_set_warn_dest");
{
const char *p = krb5_config_get_string (context, NULL,
"kdc", "key-file", NULL);
if (p)
keyfile = strdup(p);
}
ret = krb5_kt_register(context, &hdb_kt_ops);
if(ret)
krb5_err(context, 1, ret, "krb5_kt_register");