mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[LSASRV]
LsarOpenSecret: Do not check the granted access of the policy handle and return the proper status code. svn path=/trunk/; revision=57451
This commit is contained in:
parent
d31ca2ab18
commit
dbf0c8c57e
1 changed files with 2 additions and 2 deletions
|
@ -1219,7 +1219,7 @@ NTSTATUS WINAPI LsarOpenSecret(
|
|||
/* Validate the PolicyHandle */
|
||||
Status = LsapValidateDbObject(PolicyHandle,
|
||||
LsaDbPolicyObject,
|
||||
POLICY_CREATE_SECRET,
|
||||
0,
|
||||
&PolicyObject);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
|
@ -1251,7 +1251,7 @@ done:
|
|||
*SecretHandle = (LSAPR_HANDLE)SecretObject;
|
||||
}
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue