aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.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/BootstrapperEngine.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/BootstrapperEngine.h')
-rw-r--r--src/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h
index 13229c29..98a9d77d 100644
--- a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h
+++ b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h
@@ -218,7 +218,6 @@ typedef struct _BAENGINE_FORMATSTRING_ARGS
218typedef struct _BAENGINE_FORMATSTRING_RESULTS 218typedef struct _BAENGINE_FORMATSTRING_RESULTS
219{ 219{
220 DWORD cbSize; 220 DWORD cbSize;
221 // The contents of wzOut may be sensitive, should keep encrypted and SecureZeroFree.
222 LPWSTR wzOut; 221 LPWSTR wzOut;
223 // Should be initialized to the size of wzOut. 222 // Should be initialized to the size of wzOut.
224 DWORD cchOut; 223 DWORD cchOut;
@@ -244,7 +243,6 @@ typedef struct _BAENGINE_GETVARIABLENUMERIC_ARGS
244typedef struct _BAENGINE_GETVARIABLENUMERIC_RESULTS 243typedef struct _BAENGINE_GETVARIABLENUMERIC_RESULTS
245{ 244{
246 DWORD cbSize; 245 DWORD cbSize;
247 // The contents of llValue may be sensitive, if variable is hidden should keep value encrypted and SecureZeroMemory.
248 LONGLONG llValue; 246 LONGLONG llValue;
249} BAENGINE_GETVARIABLENUMERIC_RESULTS; 247} BAENGINE_GETVARIABLENUMERIC_RESULTS;
250 248
@@ -257,7 +255,6 @@ typedef struct _BAENGINE_GETVARIABLESTRING_ARGS
257typedef struct _BAENGINE_GETVARIABLESTRING_RESULTS 255typedef struct _BAENGINE_GETVARIABLESTRING_RESULTS
258{ 256{
259 DWORD cbSize; 257 DWORD cbSize;
260 // The contents of wzValue may be sensitive, if variable is hidden should keep value encrypted and SecureZeroFree.
261 LPWSTR wzValue; 258 LPWSTR wzValue;
262 // Should be initialized to the size of wzValue. 259 // Should be initialized to the size of wzValue.
263 DWORD cchValue; 260 DWORD cchValue;
@@ -272,7 +269,6 @@ typedef struct _BAENGINE_GETVARIABLEVERSION_ARGS
272typedef struct _BAENGINE_GETVARIABLEVERSION_RESULTS 269typedef struct _BAENGINE_GETVARIABLEVERSION_RESULTS
273{ 270{
274 DWORD cbSize; 271 DWORD cbSize;
275 // The contents of wzValue may be sensitive, if variable is hidden should keep value encrypted and SecureZeroFree.
276 LPWSTR wzValue; 272 LPWSTR wzValue;
277 // Should be initialized to the size of wzValue. 273 // Should be initialized to the size of wzValue.
278 DWORD cchValue; 274 DWORD cchValue;