Fix wrong keepold default in kadmin and ktutil

This commit is contained in:
Nicolas Williams
2019-01-08 22:15:25 -06:00
parent 7808e898e5
commit c2b106def5
5 changed files with 6 additions and 6 deletions

View File

@@ -147,7 +147,7 @@ kt_change(struct change_options *opt, int argc, char **argv)
krb5_key_salt_tuple *kstuple = NULL;
const char *enctype;
size_t i, j, max, nkstuple;
int keep = 0;
int keep = 1;
struct change_set *changeset;
int errors = 0;

View File

@@ -129,7 +129,7 @@ kt_get(struct get_options *opt, int argc, char **argv)
unsigned int failed = 0;
i = 0;
keep = 0;
keep = 1;
if (opt->keepallold_flag) {
keep = 2;
i++;