Bug 843770. r=rstrong

This commit is contained in:
Brian R. Bondy 2013-02-28 16:12:51 -05:00
parent f6a3b16026
commit eb118b0c53

View File

@ -12,6 +12,10 @@ struct AutoLoadSystemDependencies
{
AutoLoadSystemDependencies()
{
// Remove the current directory from the search path for dynamically loaded
// DLLs as a precaution. This call has no effect for delay load DLLs.
SetDllDirectory(L"");
static LPCWSTR delayDLLs[] = { L"wsock32.dll", L"crypt32.dll",
L"cryptsp.dll", L"cryptbase.dll",
L"msasn1.dll", L"userenv.dll",