Skip to content

Commit

Permalink
Minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
webprofusion-chrisc committed Jun 10, 2018
1 parent a06ca70 commit f5e55d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Certify.Providers/ACME/Certes/CertesACMEProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,14 +224,14 @@ private string ComputeDnsValue(IChallengeContext challenge, IKey key)
/// <returns></returns>
public async Task<PendingOrder> BeginCertificateOrder(ILog log, CertRequestConfig config, string orderUri = null)
{
PendingOrder pendingOrder = new PendingOrder { IsPendingAuthorizations = true };
var pendingOrder = new PendingOrder { IsPendingAuthorizations = true };

// prepare a list of all pending authorization we need to complete, or those we have
// already satisfied
List<PendingAuthorization> authzList = new List<PendingAuthorization>();
var authzList = new List<PendingAuthorization>();

//if no alternative domain specified, use the primary domain as the subject
List<String> domainOrders = new List<string>();
var domainOrders = new List<string>();

// order all of the distinct domains in the config (primary + SAN).
domainOrders.Add(_idnMapping.GetAscii(config.PrimaryDomain));
Expand Down Expand Up @@ -299,7 +299,7 @@ public async Task<PendingOrder> BeginCertificateOrder(ILog log, CertRequestConfi
string authzDomain = res.Identifier.Value;
if (res.Wildcard == true) authzDomain = "*." + authzDomain;

List<AuthorizationChallengeItem> challenges = new List<AuthorizationChallengeItem>();
var challenges = new List<AuthorizationChallengeItem>();

// add http challenge (if any)
var httpChallenge = await authz.Http();
Expand Down

0 comments on commit f5e55d1

Please sign in to comment.