diff options
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/netlibsecurity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/netlibsecurity.cpp b/src/mir_app/src/netlibsecurity.cpp index 3cafe2bb68..0e0bf66ea5 100644 --- a/src/mir_app/src/netlibsecurity.cpp +++ b/src/mir_app/src/netlibsecurity.cpp @@ -326,7 +326,7 @@ char* NtlmCreateResponseFromChallenge(HANDLE hSecurity, const char *szChallenge, Netlib_Logf(nullptr, "InitializeSecurityContext(%S): 0x%x", hNtlm->szProvider, sc);
complete = (sc != SEC_I_COMPLETE_AND_CONTINUE && sc != SEC_I_CONTINUE_NEEDED);
- if (!complete) {
+ if (sc == SEC_I_COMPLETE_NEEDED || sc == SEC_I_COMPLETE_AND_CONTINUE) {
sc = CompleteAuthToken(&hNtlm->hClientContext, &outputBufferDescriptor);
Netlib_Logf(nullptr, "CompleteAuthToken: 0x%x", sc);
}
|