kadmin: del_enctype whitespace

Fix whitespace and bracing in del_enctype().

No functional change.

Change-Id: I4e70b381aa54a6b0965c88713fbfb4d29bc4495e
This commit is contained in:
Nicolas Williams
2015-03-12 21:41:42 -04:00
committed by Jeffrey Altman
parent 6683650337
commit edb6c1b075

View File

@@ -49,6 +49,7 @@ del_enctype(void *opt, int argc, char **argv)
krb5_key_data *new_key_data;
int n_etypes;
krb5_enctype *etypes;
krb5_key_data *key;
memset (&princ, 0, sizeof(princ));
princ_name = argv[0];
@@ -88,14 +89,15 @@ del_enctype(void *opt, int argc, char **argv)
}
for (i = 0, j = 0; i < princ.n_key_data; ++i) {
krb5_key_data *key = &princ.key_data[i];
int docopy = 1;
key = &princ.key_data[i];
for (k = 0; k < n_etypes; ++k)
for (k = 0; k < n_etypes; ++k) {
if (etypes[k] == key->key_data_type[0]) {
docopy = 0;
break;
}
}
if (docopy) {
new_key_data[j++] = *key;
} else {