Skip to content

Commit

Permalink
ebekker#352 - allow ssl flags to remain unchanged; stick to standard …
Browse files Browse the repository at this point in the history
…naming convention
  • Loading branch information
Bevan, John - Technical Architect authored and Bevan, John - Technical Architect committed Aug 7, 2019
1 parent 370024c commit 64d791a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ACMESharp/ACMESharp.Providers.IIS/IisInstallerProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class IisInstallerProvider : IInstallerProvider
ParameterType.BOOLEAN, label: "Force",
desc: "An optional flag to overwrite an existing binding matching the target criteria");

public static readonly ParameterDetail KEEPEXISTINGSSLFLAGS = new ParameterDetail(
public static readonly ParameterDetail KEEP_EXISTING_SSL_FLAGS = new ParameterDetail(
nameof(IisInstaller.Force),
ParameterType.BOOLEAN, label: "KeepExistingSslFlags",
desc: "An optional flag to allow an existing binding to keep its SSL Flags as per the original binding");
Expand All @@ -64,7 +64,7 @@ public class IisInstallerProvider : IInstallerProvider
BINDING_HOST,
BINDING_HOST_REQUIRED,
FORCE,
KEEPEXISTINGSSLFLAGS,
KEEP_EXISTING_SSL_FLAGS,
CERTIFICATE_FRIENDLY_NAME,
};

Expand Down Expand Up @@ -95,7 +95,7 @@ public IInstaller GetInstaller(IReadOnlyDictionary<string, object> initParams)
(bool x) => inst.BindingHostRequired = x);
initParams.GetParameter(FORCE,
(bool x) => inst.Force = x);
initParams.GetParameter(KEEPEXISTINGSSLFLAGS,
initParams.GetParameter(KEEP_EXISTING_SSL_FLAGS,
(bool x) => inst.KeepExistingSslFlags = x);
initParams.GetParameter(CERTIFICATE_FRIENDLY_NAME,
(string x) => inst.CertificateFriendlyName = x);
Expand Down

0 comments on commit 64d791a

Please sign in to comment.