fixed: in passwd winix function: clear password hash when using rsa encoding
This commit is contained in:
parent
bb513b0187
commit
85f9fda984
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue