fixed: in passwd winix function: clear password hash when using rsa encoding

This commit is contained in:
Tomasz Sowa 2021-05-11 22:15:52 +02:00
parent bb513b0187
commit 85f9fda984
1 changed files with 1 additions and 0 deletions

View File

@ -312,6 +312,7 @@ bool Crypt::PassCrypt(const std::wstring & path_to_rsa_private_key, User & user)
if( RSA(true, path_to_rsa_private_key, passa, user.pass_encrypted) )
{
ClearString(user.password);
result = true;
}
else