]> granicus.if.org Git - curl/commit
schannel: Disable ALPN on Windows < 8.1
authorSteve Holme <steve_holme@hotmail.com>
Mon, 6 Jun 2016 19:53:30 +0000 (20:53 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Mon, 6 Jun 2016 19:53:30 +0000 (20:53 +0100)
commit34855feeb4c2991f7a158064abef16829bd4425f
treef2da1b12aeb2f167b780dd7cc3a788e7be550e4a
parent84a48e5732d9dd0c98fda3597352e4b16f35a7ad
schannel: Disable ALPN on Windows < 8.1

Calling QueryContextAttributes with SECPKG_ATTR_APPLICATION_PROTOCOL
fails on Windows < 8.1 so we need to disable ALPN on these OS versions.

Inspiration provide by: Daniel Seither

Closes #848
Fixes #840
lib/vtls/schannel.c