FirebirdSQL / firebird

Firebird server, client and tools
https://firebirdsql.org
1.26k stars 217 forks source link

Make server to correctly handle case when accept() returns both success and data for client. #8262

Closed hvlad closed 1 month ago

hvlad commented 2 months ago

When security package was changed from NTLM to Negotiate (see #8256), the last call of AcceptSecurityContext() returns SEC_E_OK and some data for client. Server should send its to the client, but it doesn't. As result, client can't obtain encryption key from security context and wire encryption is not possible.

This is the reason for failure of QA test for #6204.