Schannel: Enable ALPN for some mingw configurations
... by checking if SECBUFFER_APPLICATION_PROTOCOLS is defined. In this case, we assume that the current environment supports ALPN. Then we no longer do a blanket block for all mingw configurations. Change-Id: I2eedb813a5bdc3b1a5097053b04aa45d25d175aa Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit fa8943640c02adbe100cdbca2b44a102b45de53f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
c7bc337341
commit
cc350b13c1
@ -26,7 +26,7 @@
|
||||
#include <security.h>
|
||||
#include <schnlsp.h>
|
||||
|
||||
#if NTDDI_VERSION >= NTDDI_WINBLUE && !defined(Q_CC_MINGW)
|
||||
#if NTDDI_VERSION >= NTDDI_WINBLUE && defined(SECBUFFER_APPLICATION_PROTOCOLS)
|
||||
// ALPN = Application Layer Protocol Negotiation
|
||||
#define SUPPORTS_ALPN 1
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user