mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user