fixed: in passwd winix function: clear password hash when using rsa encoding
This commit is contained in:
@@ -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) )
|
if( RSA(true, path_to_rsa_private_key, passa, user.pass_encrypted) )
|
||||||
{
|
{
|
||||||
|
ClearString(user.password);
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user