kfw: use correct message id to obtain tgt from leash
authorTom Yu <tlyu@mit.edu>
Mon, 12 Dec 2011 20:45:13 +0000 (20:45 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 12 Dec 2011 20:45:13 +0000 (20:45 +0000)
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7050

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25550 dc483132-0cff-0310-8789-dd5450dbe970

src/windows/leashdll/lshfunc.c

index 0618fafec4d6616123418728aad44ed6664a5114..6db157131852f2bdc5a339743f10ed839e20e167 100644 (file)
@@ -2829,7 +2829,8 @@ acquire_tkt_send_msg(krb5_context ctx, const char * title,
                strs++;
 
                GlobalUnlock( hData );
-               SendMessage(hLeash, 32810, 0, (LPARAM) hData);
+               /* 32809 = ID_OBTAIN_TGT_WITH_LPARAM in src/windows/leash/resource.h */
+               SendMessage(hLeash, 32809, 0, (LPARAM) hData);
            }
        }
        GlobalFree( hData );