Skip to content

Commit

Permalink
Fix comment of variance time for Rfc6238
Browse files Browse the repository at this point in the history
  • Loading branch information
Kahbazi committed Apr 4, 2018
1 parent a24b776 commit 77c8cb5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static int GenerateCode(SecurityToken securityToken, string modifier = nu
throw new ArgumentNullException("securityToken");
}

// Allow a variance of no greater than 90 seconds in either direction
// Allow a variance of no greater than 9 minutes in either direction
var currentTimeStep = GetCurrentTimeStepNumber();
using (var hashAlgorithm = new HMACSHA1(securityToken.GetDataNoClone()))
{
Expand All @@ -94,7 +94,7 @@ public static bool ValidateCode(SecurityToken securityToken, int code, string mo
throw new ArgumentNullException("securityToken");
}

// Allow a variance of no greater than 90 seconds in either direction
// Allow a variance of no greater than 9 minutes in either direction
var currentTimeStep = GetCurrentTimeStepNumber();
using (var hashAlgorithm = new HMACSHA1(securityToken.GetDataNoClone()))
{
Expand Down

0 comments on commit 77c8cb5

Please sign in to comment.