From 21a0685ef69e9d634600622b19ea970c6f58ef03 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Thu, 6 Oct 2022 16:37:14 -0500 Subject: Add Netfx bundle extension and netfx:DotNetCoreSearch. Remove built-in .NET Core packages since they update too quickly. Fixes 6257 --- src/ext/Util/be/detectsha2support.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ext/Util/be/detectsha2support.cpp') diff --git a/src/ext/Util/be/detectsha2support.cpp b/src/ext/Util/be/detectsha2support.cpp index 90e349cd..4abfc63c 100644 --- a/src/ext/Util/be/detectsha2support.cpp +++ b/src/ext/Util/be/detectsha2support.cpp @@ -13,7 +13,7 @@ HRESULT DetectSHA2CodeSigning( DWORD er = ERROR_SUCCESS; hr = LoadSystemLibrary(L"wintrust.dll", &hModule); - ExitOnFailure(hr, "Failed to load wintrust.dll"); + BextExitOnFailure(hr, "Failed to load wintrust.dll"); pfn = ::GetProcAddress(hModule, "CryptCATAdminAcquireContext2"); if (pfn) @@ -30,7 +30,7 @@ HRESULT DetectSHA2CodeSigning( } hr = HRESULT_FROM_WIN32(er); - ExitOnFailure(hr, "Failed to probe for CryptCATAdminAcquireContext2 in wintrust.dll"); + BextExitOnFailure(hr, "Failed to probe for CryptCATAdminAcquireContext2 in wintrust.dll"); LExit: ::FreeLibrary(hModule); @@ -48,10 +48,10 @@ HRESULT UtilPerformDetectSHA2CodeSigning( BOOL fSupported = FALSE; hr = DetectSHA2CodeSigning(&fSupported); - ExitOnFailure(hr, "DetectSHA2CodeSigning failed."); + BextExitOnFailure(hr, "DetectSHA2CodeSigning failed."); hr = pEngine->SetVariableNumeric(wzVariable, fSupported ? 1 : 0); - ExitOnFailure(hr, "Failed to set variable '%ls'", wzVariable); + BextExitOnFailure(hr, "Failed to set variable '%ls'", wzVariable); LExit: return hr; -- cgit v1.2.3-55-g6feb