Skip to content

Commit

Permalink
Fixed incorrect results for online mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaifm committed Dec 26, 2022
1 parent a3c5b54 commit f64baf0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion HIBPOfflineCheck/HIBPOfflineColumnProv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private void GetOnlineStatus()

foreach (var line in lines)
{
if (line.Length < pwdSha.Length)
if (truncatedSha.Length + line.Length < pwdSha.Length)
continue;

string fullSha = truncatedSha + line;
Expand Down
4 changes: 2 additions & 2 deletions HIBPOfflineCheck/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.8.0")]
[assembly: AssemblyFileVersion("1.7.8.0")]
[assembly: AssemblyVersion("1.7.9.0")]
[assembly: AssemblyFileVersion("1.7.9.0")]
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
:
HIBPOfflineCheck:1.7.8.0
HIBPOfflineCheck:1.7.9.0
:

0 comments on commit f64baf0

Please sign in to comment.