metajack / libstrophe

The libstrophe repository has moved to https://github.com/strophe/libstrophe
http://strophe.im/libstrophe
Other
135 stars 49 forks source link

fixed TLS for Win8.1 SChannel #45

Closed c0ff closed 10 years ago

c0ff commented 10 years ago

Windows 8.1 disables the support for RC4 in TLS by default, and libstrophe fails to connect with "Couldn't start TLS! error -2146893048"

Since it's impossible to tell Win8.1 from Win8.0 with GetVersion(), unless the app is manifested for Win8.1, the fix enables CALG_AES for Win8.0+.