Commits

Fydon committed 2a84dde Draft

Fixed initial index of the first character in the starting password, when the starting password is set by a user

Comments (0)

Files changed (1)

CertificatePasswordRecovery/CertPasswordRecoveryForm.cs

             }
 
             // Initial the index of the first character in the starting password
-            this.indexOfFirstCharacterInCurrentPassword = startingPasswordCharacterIndex >= 0 ? startingPasswordCharacterIndex : 0;
+            this.indexOfFirstCharacterInCurrentPassword = startingPasswordCharacterIndex + 1;
         }
 
         void PasswordRecoveryWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)