aboutsummaryrefslogtreecommitdiff
path: root/src/engine/condition.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-11-01 15:16:07 -0600
committerSean Hall <r.sean.hall@gmail.com>2020-11-01 18:35:01 -0600
commit4921664f92bb6bd39ed7fd3dd24d58108973af25 (patch)
tree491cb08915b40708770b3b76f05eb1c98dc45691 /src/engine/condition.cpp
parentb5553689ed1b1bd32f854654f56935c039a9b13b (diff)
downloadwix-4921664f92bb6bd39ed7fd3dd24d58108973af25.tar.gz
wix-4921664f92bb6bd39ed7fd3dd24d58108973af25.tar.bz2
wix-4921664f92bb6bd39ed7fd3dd24d58108973af25.zip
Stop encrypting hidden variables.
They were persisted in plaintext, and always had to be decrypted and sent to a separate process to actually be used.
Diffstat (limited to 'src/engine/condition.cpp')
-rw-r--r--src/engine/condition.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/engine/condition.cpp b/src/engine/condition.cpp
index d6038b34..06591567 100644
--- a/src/engine/condition.cpp
+++ b/src/engine/condition.cpp
@@ -434,7 +434,6 @@ static HRESULT ParseOperand(
434 HRESULT hr = S_OK; 434 HRESULT hr = S_OK;
435 LPWSTR sczFormatted = NULL; 435 LPWSTR sczFormatted = NULL;
436 436
437 // Symbols don't encrypt their value, so can access the value directly.
438 switch (pContext->NextSymbol.Type) 437 switch (pContext->NextSymbol.Type)
439 { 438 {
440 case BURN_SYMBOL_TYPE_IDENTIFIER: 439 case BURN_SYMBOL_TYPE_IDENTIFIER:
@@ -715,7 +714,6 @@ static HRESULT NextSymbol(
715 pContext->wzRead[n] == L'-' || 714 pContext->wzRead[n] == L'-' ||
716 pContext->wzRead[n] == L'.'); 715 pContext->wzRead[n] == L'.');
717 716
718 // Symbols don't encrypt their value, so can access the value directly.
719 hr = VerParseVersion(&pContext->wzRead[1], n - 1, FALSE, &pContext->NextSymbol.Value.pValue); 717 hr = VerParseVersion(&pContext->wzRead[1], n - 1, FALSE, &pContext->NextSymbol.Value.pValue);
720 if (FAILED(hr)) 718 if (FAILED(hr))
721 { 719 {