Lines Matching defs:kvno
117 krb5_kvno kvno = -1;
139 if (kvno != -1 && kvno != key_data[i].key_data_kvno) {
143 kvno = key_data[i].key_data_kvno;
148 * assume we must be setting the principal's kvno as well!
151 * sent 0 as the kvno... This may seem ugly, but it's the price
152 * of backwards compatibility with pre-multi-kvno kadmin clients
154 * updating the entry's kvno?)
157 * keysets are given but the entry's kvno is not set and not in
161 if (kvno == 0) {
162 /* Force kvno to 1 if it was 0; (ank would do this anyways) */
163 if (ent->kvno == 0)
164 ent->kvno = 1;
165 /* Below we need key_data[*].kvno to be reasonable */
167 key_data[i].key_data_kvno = ent->kvno;
170 * Or force the entry's kvno to match the one from the new,
173 ent->kvno = kvno;
178 if (key_data[i].key_data_kvno == ent->kvno) {
188 * This kvno is historical. Build an hdb_keyset for keys of
192 if (hist_keys->val[k].kvno == key_data[i].key_data_kvno)
196 hist_keys->val[k].kvno == key_data[i].key_data_kvno)
197 /* We've added all keys of this kvno already (see below) */
201 hkset.kvno = key_data[i].key_data_kvno;
203 /* Find all keys of this kvno and add them to the new keyset */
204 if (key_data[k].key_data_kvno != hkset.kvno)
237 if (hist_keys->val[k].kvno != old_hist_keys->val[k].kvno)