From: Tom Yu Date: Sat, 29 Sep 2007 00:02:27 +0000 (+0000) Subject: pull up r19896 from trunk X-Git-Tag: krb5-1.6.3-beta2~57 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a125e984007637101ddbb06ce025704ec19f7d1d;p=krb5.git pull up r19896 from trunk r19896@cathode-dark-space: jaltman | 2007-08-29 18:23:16 -0400 ticket: new subject: NIM - a small readability change component: windows/identity/kconfig/api.c Instead of testing for NOT the machine key, test for is the user key. ticket: 5702 version_fixed: 1.6.3 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@20008 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/windows/identity/kconfig/api.c b/src/windows/identity/kconfig/api.c index f9cd64855..8317e6c9b 100644 --- a/src/windows/identity/kconfig/api.c +++ b/src/windows/identity/kconfig/api.c @@ -2069,7 +2069,7 @@ khc_remove_value(khm_handle conf, const wchar_t * value, khm_int32 flags) { c = khc_space_from_handle(conf); - if(!khc_is_machine_handle(conf)) + if(khc_is_user_handle(conf)) hku = khcint_space_open_key(c, KHM_PERM_READ); hkm = khcint_space_open_key(c, KHM_PERM_READ | KCONF_FLAG_MACHINE);