secur32: Clear SECBUFFER_ALERT output buffer count in schan_InitializeSecurityContextW.
commit795d3e2cb5ae320fdcb4dd1c23023a2d744ebbda
authorConnor McAdams <cmcadams@codeweavers.com>
Thu, 27 Jan 2022 10:11:27 +0000 (27 11:11 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 27 Jan 2022 16:56:06 +0000 (27 17:56 +0100)
tree39ac3afcebeb80768b1751769e3824027bcd9dcd
parent117f79aa199642522c24d72cf9706f34293a10d4
secur32: Clear SECBUFFER_ALERT output buffer count in schan_InitializeSecurityContextW.

Since we write no data into this buffer, set the count to 0. Otherwise,
some applications assume there has been alert data written into the
buffer.

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