aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/HttpCompiler.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-04-12 07:43:04 -0700
committerRob Mensching <rob@firegiant.com>2021-04-12 15:34:06 -0700
commita20bee47c43861dd9f38adb88e74a6417292732b (patch)
tree0e02edc74c989813e6e70fa4b7d5e29a003744de /src/wixext/HttpCompiler.cs
parent7a855a54687d638c6717e3cf9bda1affc76f48ed (diff)
downloadwix-a20bee47c43861dd9f38adb88e74a6417292732b.tar.gz
wix-a20bee47c43861dd9f38adb88e74a6417292732b.tar.bz2
wix-a20bee47c43861dd9f38adb88e74a6417292732b.zip
Add Wix4 prefix Http CA binary and make HandleExisting an enum
Diffstat (limited to 'src/wixext/HttpCompiler.cs')
-rw-r--r--src/wixext/HttpCompiler.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wixext/HttpCompiler.cs b/src/wixext/HttpCompiler.cs
index e6246619..cb217147 100644
--- a/src/wixext/HttpCompiler.cs
+++ b/src/wixext/HttpCompiler.cs
@@ -72,7 +72,7 @@ namespace WixToolset.Http
72 { 72 {
73 var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(node); 73 var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(node);
74 Identifier id = null; 74 Identifier id = null;
75 var handleExisting = HttpConstants.heReplace; 75 var handleExisting = HandleExisting.Replace;
76 string sddl = null; 76 string sddl = null;
77 string url = null; 77 string url = null;
78 var foundACE = false; 78 var foundACE = false;
@@ -91,13 +91,13 @@ namespace WixToolset.Http
91 switch (handleExistingValue) 91 switch (handleExistingValue)
92 { 92 {
93 case "replace": 93 case "replace":
94 handleExisting = HttpConstants.heReplace; 94 handleExisting = HandleExisting.Replace;
95 break; 95 break;
96 case "ignore": 96 case "ignore":
97 handleExisting = HttpConstants.heIgnore; 97 handleExisting = HandleExisting.Ignore;
98 break; 98 break;
99 case "fail": 99 case "fail":
100 handleExisting = HttpConstants.heFail; 100 handleExisting = HandleExisting.Fail;
101 break; 101 break;
102 default: 102 default:
103 this.Messaging.Write(ErrorMessages.IllegalAttributeValue(sourceLineNumbers, node.Name.LocalName, "HandleExisting", handleExistingValue, "replace", "ignore", "fail")); 103 this.Messaging.Write(ErrorMessages.IllegalAttributeValue(sourceLineNumbers, node.Name.LocalName, "HandleExisting", handleExistingValue, "replace", "ignore", "fail"));