Module: wine Branch: master Commit: 4ff2d893c3552b28ad98db2dc89c5e7499d9aac7 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=4ff2d893c3552b28ad98db2d...
Author: Kai Blin kai.blin@gmail.com Date: Thu Aug 10 13:06:39 2006 +0200
secur32: Implement CompleteAuthToken for NTLM.
---
dlls/secur32/ntlm.c | 16 +++++----------- 1 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/dlls/secur32/ntlm.c b/dlls/secur32/ntlm.c index d8962a5..c483b5e 100644 --- a/dlls/secur32/ntlm.c +++ b/dlls/secur32/ntlm.c @@ -898,18 +898,12 @@ static SECURITY_STATUS SEC_ENTRY ntlm_Ac static SECURITY_STATUS SEC_ENTRY ntlm_CompleteAuthToken(PCtxtHandle phContext, PSecBufferDesc pToken) { - SECURITY_STATUS ret; - + /* We never need to call CompleteAuthToken anyway */ TRACE("%p %p\n", phContext, pToken); - if (phContext) - { - ret = SEC_E_UNSUPPORTED_FUNCTION; - } - else - { - ret = SEC_E_INVALID_HANDLE; - } - return ret; + if (!phContext) + return SEC_E_INVALID_HANDLE; + + return SEC_E_OK; }
/***********************************************************************