1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

secur32: Also copy user function tables in nego_SpInitLsaModeContext() and nego_SpAcceptLsaModeContext().

This commit is contained in:
Hans Leidekker 2023-08-04 10:23:24 +02:00 committed by Alexandre Julliard
parent b43ba81e17
commit ff5db66c43

View File

@ -225,6 +225,8 @@ static NTSTATUS NTAPI nego_SpInitLsaModeContext( LSA_SEC_HANDLE credential, LSA_
if (!(new_ctxt = ctxt = calloc( 1, sizeof(*ctxt) ))) return SEC_E_INSUFFICIENT_MEMORY;
ctxt->krb = cred->krb;
ctxt->ntlm = cred->ntlm;
ctxt->user_krb = cred->user_krb;
ctxt->user_ntlm = cred->user_ntlm;
}
if (!handle) return SEC_E_INVALID_HANDLE;
@ -278,6 +280,8 @@ static NTSTATUS NTAPI nego_SpAcceptLsaModeContext( LSA_SEC_HANDLE credential, LS
if (!(new_ctxt = ctxt = calloc( 1, sizeof(*ctxt) ))) return SEC_E_INSUFFICIENT_MEMORY;
ctxt->krb = cred->krb;
ctxt->ntlm = cred->ntlm;
ctxt->user_krb = cred->user_krb;
ctxt->user_ntlm = cred->user_ntlm;
}
if (!handle) return SEC_E_INVALID_HANDLE;