strophe / libstrophe

A simple, lightweight C library for writing XMPP clients
http://strophe.im/libstrophe
Other
401 stars 163 forks source link

added management of SEC_E_INCOMPLETE_MESSAGE #111

Closed Lucione closed 5 years ago

Lucione commented 7 years ago

In some circumstances, the tls_start failed because InitializeSecurityContextA returned the error code: SEC_E_INCOMPLETE_MESSAGE. I added the above-mentioned case management.

pasis commented 5 years ago

I've cherry-picked solution from https://github.com/Darkium/libstrophe/commit/7fc2586ad5ec67594f88f414297ec186ccf6ae0a