secur32: Split the NTLM credential and context handles into separate objects.
commit888a8e27b8d00c23c298533e252c93381c455ffe
authorRob Shearman <rob@codeweavers.com>
Tue, 7 Aug 2007 16:12:32 +0000 (7 17:12 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 8 Aug 2007 13:32:00 +0000 (8 15:32 +0200)
tree9bb8f90533e7d3dd269b8ce788f780cb442d73c6
parentb8dd5839efe0d40d1e85a826f127f5034b800135
secur32: Split the NTLM credential and context handles into separate objects.

This prevents races with two threads using the helper object at the same
time on two different context handles, eliminates the need to free the
credential handle after freeing the context handles and also prevents a
crash caused by not clearing session_key in DeleteSecurityContext.
dlls/secur32/dispatcher.c
dlls/secur32/ntlm.c
dlls/secur32/secur32_priv.h