secur32: Set phNewContext to phContext in schan_InitializeSecurityContextW().
commitef1ac61a7dd9b5a34e5ca93f1c847c29ac0b0de9
authorConnor McAdams <cmcadams@codeweavers.com>
Wed, 26 Jan 2022 10:50:12 +0000 (26 11:50 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 26 Jan 2022 20:53:56 +0000 (26 21:53 +0100)
tree0e97a148b80a2d9cb0b14ab1c0f1829e84d33059
parent159e1c5fa4ed09cda10f6357f941510b7360a2b3
secur32: Set phNewContext to phContext in schan_InitializeSecurityContextW().

If a valid pointer for phNewContext is passed in alongside a valid phContext
pointer, initialize phNewContext with the value of phContext on success.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/secur32/schannel.c
dlls/secur32/tests/schannel.c