Stop looking when removing entries from a keytab.

keytab entries are locked when looping. Temporarily suspend the looping.
This commit is contained in:
Rob Crittenden 2010-01-20 11:48:24 -05:00
parent 3a536353fb
commit 2955c955ac

View File

@ -117,6 +117,11 @@ remove_realm(krb5_context context, krb5_keytab ktid, const char *realm, int debu
}
/* keytab entries are locked when looping. Temporarily suspend
* the looping. */
krb5_kt_end_seq_get(context, ktid, &kt_cursor);
/* keytab entries are locked when looping. Temporarily suspend
* the looping. */
krb5_kt_end_seq_get(context, ktid, &kt_cursor);