secur32: Add DebugInfo to critical sections.

This commit is contained in:
Jan Zerebecki 2007-03-10 22:10:45 +01:00 committed by Alexandre Julliard
parent b5619e8628
commit e293d630ff

View file

@ -543,6 +543,7 @@ static void SECUR32_initializeProviders(void)
TRACE("\n");
InitializeCriticalSection(&cs);
cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
/* First load built-in providers */
SECUR32_initSchannelSP();
/* Do not load Negotiate yet. This breaks for some user on the wine-users
@ -684,6 +685,7 @@ static void SECUR32_freeProviders(void)
}
LeaveCriticalSection(&cs);
cs.DebugInfo->Spare[0] = 0;
DeleteCriticalSection(&cs);
}