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. Pick-to: 6.6 Change-Id: I2eedb813a5bdc3b1a5097053b04aa45d25d175aa Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
486b1aec16
commit
fa8943640c
@ -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