https://git.reactos.org/?p=reactos.git;a=commitdiff;h=76247390e53c0957753d56c919767c4969ff0777

commit 76247390e53c0957753d56c919767c4969ff0777
Author:     Eric Kohl <[email protected]>
AuthorDate: Sun Feb 28 01:57:43 2021 +0100
Commit:     Eric Kohl <[email protected]>
CommitDate: Sun Feb 28 01:57:43 2021 +0100

    [LSASRV] Fix a typo in the trusted user identification
---
 dll/win32/lsasrv/authport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dll/win32/lsasrv/authport.c b/dll/win32/lsasrv/authport.c
index 192c43bda5a..aec05f287e2 100644
--- a/dll/win32/lsasrv/authport.c
+++ b/dll/win32/lsasrv/authport.c
@@ -138,7 +138,7 @@ LsapCheckLogonProcess(PLSA_API_MSG RequestMsg,
     Context->Untrusted = RequestMsg->ConnectInfo.Untrusted;
 
     if (Context->Untrusted == FALSE)
-        Context->Untrusted = LsapIsTrustedClient(ProcessHandle);
+        Context->Untrusted = !LsapIsTrustedClient(ProcessHandle);
 
     *LogonContext = Context;
 

Reply via email to