aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2023-04-04 17:33:17 -0400
committerBob Arnson <github@bobs.org>2023-04-04 18:36:54 -0400
commit251265cd325be7f2f311273a1759ca05bf07b187 (patch)
tree9650c619b16151e721f90e6124425c14a6d3c0d0
parent533b554cd5af6ca64b3ca0d52f16434d9fd734d8 (diff)
downloadwix-251265cd325be7f2f311273a1759ca05bf07b187.tar.gz
wix-251265cd325be7f2f311273a1759ca05bf07b187.tar.bz2
wix-251265cd325be7f2f311273a1759ca05bf07b187.zip
Fix missing table prefix.
Fixes https://github.com/orgs/wixtoolset/discussions/7359.
-rw-r--r--src/ext/Iis/ca/scacert.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ext/Iis/ca/scacert.cpp b/src/ext/Iis/ca/scacert.cpp
index d391cfc5..ce7968e6 100644
--- a/src/ext/Iis/ca/scacert.cpp
+++ b/src/ext/Iis/ca/scacert.cpp
@@ -492,9 +492,9 @@ static HRESULT ResolveCertificate(
492 hr = StrHexEncode(rgbCertificateHash, countof(rgbCertificateHash), wzEncodedCertificateHash, countof(wzEncodedCertificateHash)); 492 hr = StrHexEncode(rgbCertificateHash, countof(rgbCertificateHash), wzEncodedCertificateHash, countof(wzEncodedCertificateHash));
493 ExitOnFailure(hr, "Failed to hex encode SHA1 hash of certificate."); 493 ExitOnFailure(hr, "Failed to hex encode SHA1 hash of certificate.");
494 494
495 // Update the CertificateHash table. 495 // Update the Wix4CertificateHash table.
496 hr = WcaAddTempRecord(&hCertificateHashView, &hCertificateHashColumns, L"CertificateHash", NULL, 0, 2, wzId, wzEncodedCertificateHash); 496 hr = WcaAddTempRecord(&hCertificateHashView, &hCertificateHashColumns, L"Wix4CertificateHash", NULL, 0, 2, wzId, wzEncodedCertificateHash);
497 ExitOnFailure(hr, "Failed to add encoded has for certificate: %ls", wzId); 497 ExitOnFailure(hr, "Failed to add encoded hash for certificate: %ls", wzId);
498 } 498 }
499 499
500 *ppbCertificate = pbData; 500 *ppbCertificate = pbData;