@joebigelow / wix-1 / commits / 251265cd

Fix missing table prefix.

Fixes https://github.com/orgs/wixtoolset/discussions/7359.

Bob Arnson committed Apr 4, 2023 at 17:33 UTC 251265cd325be7f2f311273a1759ca05bf07b187
1 file changed +3 -3
src/ext/Iis/ca/scacert.cpp
+3 -3
@@ -492,9 +492,9 @@ static HRESULT ResolveCertificate(
492 hr = StrHexEncode(rgbCertificateHash, countof(rgbCertificateHash), wzEncodedCertificateHash, countof(wzEncodedCertificateHash));
493 ExitOnFailure(hr, "Failed to hex encode SHA1 hash of certificate.");
494
495 - // Update the CertificateHash table.
496 - hr = WcaAddTempRecord(&hCertificateHashView, &hCertificateHashColumns, L"CertificateHash", NULL, 0, 2, wzId, wzEncodedCertificateHash);
497 - ExitOnFailure(hr, "Failed to add encoded has for certificate: %ls", wzId);
495 + // Update the Wix4CertificateHash table.
496 + hr = WcaAddTempRecord(&hCertificateHashView, &hCertificateHashColumns, L"Wix4CertificateHash", NULL, 0, 2, wzId, wzEncodedCertificateHash);
497 + ExitOnFailure(hr, "Failed to add encoded hash for certificate: %ls", wzId);
498 }
499
500 *ppbCertificate = pbData;