aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h
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/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h
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/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h')
-rw-r--r--src/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h b/src/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h
index becb5be3..003ff635 100644
--- a/src/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h
+++ b/src/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h
@@ -78,7 +78,6 @@ typedef struct _BUNDLE_EXTENSION_ENGINE_FORMATSTRING_ARGS
78typedef struct _BUNDLE_EXTENSION_ENGINE_FORMATSTRING_RESULTS 78typedef struct _BUNDLE_EXTENSION_ENGINE_FORMATSTRING_RESULTS
79{ 79{
80 DWORD cbSize; 80 DWORD cbSize;
81 // The contents of wzOut may be sensitive, should keep encrypted and SecureZeroFree.
82 LPWSTR wzOut; 81 LPWSTR wzOut;
83 // Should be initialized to the size of wzOut. 82 // Should be initialized to the size of wzOut.
84 DWORD cchOut; 83 DWORD cchOut;
@@ -93,7 +92,6 @@ typedef struct _BUNDLE_EXTENSION_ENGINE_GETVARIABLENUMERIC_ARGS
93typedef struct _BUNDLE_EXTENSION_ENGINE_GETVARIABLENUMERIC_RESULTS 92typedef struct _BUNDLE_EXTENSION_ENGINE_GETVARIABLENUMERIC_RESULTS
94{ 93{
95 DWORD cbSize; 94 DWORD cbSize;
96 // The contents of llValue may be sensitive, if variable is hidden should keep value encrypted and SecureZeroMemory.
97 LONGLONG llValue; 95 LONGLONG llValue;
98} BUNDLE_EXTENSION_ENGINE_GETVARIABLENUMERIC_RESULTS; 96} BUNDLE_EXTENSION_ENGINE_GETVARIABLENUMERIC_RESULTS;
99 97
@@ -106,7 +104,6 @@ typedef struct _BUNDLE_EXTENSION_ENGINE_GETVARIABLESTRING_ARGS
106typedef struct _BUNDLE_EXTENSION_ENGINE_GETVARIABLESTRING_RESULTS 104typedef struct _BUNDLE_EXTENSION_ENGINE_GETVARIABLESTRING_RESULTS
107{ 105{
108 DWORD cbSize; 106 DWORD cbSize;
109 // The contents of wzValue may be sensitive, if variable is hidden should keep value encrypted and SecureZeroFree.
110 LPWSTR wzValue; 107 LPWSTR wzValue;
111 // Should be initialized to the size of wzValue. 108 // Should be initialized to the size of wzValue.
112 DWORD cchValue; 109 DWORD cchValue;
@@ -121,7 +118,6 @@ typedef struct _BUNDLE_EXTENSION_ENGINE_GETVARIABLEVERSION_ARGS
121typedef struct _BUNDLE_EXTENSION_ENGINE_GETVARIABLEVERSION_RESULTS 118typedef struct _BUNDLE_EXTENSION_ENGINE_GETVARIABLEVERSION_RESULTS
122{ 119{
123 DWORD cbSize; 120 DWORD cbSize;
124 // The contents of wzValue may be sensitive, if variable is hidden should keep value encrypted and SecureZeroFree.
125 LPWSTR wzValue; 121 LPWSTR wzValue;
126 // Should be initialized to the size of wzValue. 122 // Should be initialized to the size of wzValue.
127 DWORD cchValue; 123 DWORD cchValue;