]> git.ipfire.org Git - thirdparty/krb5.git/commit
Use write lock flag for update_princ_encryption
authorTom Yu <tlyu@mit.edu>
Sat, 2 Aug 2014 18:20:33 +0000 (14:20 -0400)
committerTom Yu <tlyu@mit.edu>
Sat, 2 Aug 2014 18:20:33 +0000 (14:20 -0400)
commit0d3db948464bf7a38afa458f2f54867d107bbb72
treef770985e034f674f269699b94dc0f8f8df0d8fd8
parent0cc00db2987f6b103b7e8bee72b7ddfbad2faea8
Use write lock flag for update_princ_encryption

In kdb5_util update_princ_encryption, instead of getting a write lock
on the KDB surrounding the call to krb5_db_iterate(), use the
iterflags parameter of krb5_db_iterate() to request that it obtain a
write lock around the iteration.

ticket: 7977
src/kadmin/dbutil/kdb5_mkey.c