QSslSocket_schannel: Don't compare against undefined value

Something defined is always greater than undefined

Fixes: QTBUG-89530
Change-Id: I7633dd4233f7b13c3c5be17352841ec873531ef9
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
(cherry picked from commit 3eb35d324186b17d00f158d71a251f1bf93b6d2d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Mårten Nordheim 2020-12-16 11:55:54 +01:00 committed by Qt Cherry-pick Bot
parent 9fd0c6afc7
commit 8f0eb2c6b0

View File

@ -64,7 +64,7 @@
// Redstone 5/1809 has all the API available, but TLS 1.3 is not enabled until a later version of // Redstone 5/1809 has all the API available, but TLS 1.3 is not enabled until a later version of
// Win 10, checked at runtime in supportsTls13() // Win 10, checked at runtime in supportsTls13()
#if NTDDI_VERSION >= NTDDI_WIN10_RS5 #if defined(NTDDI_WIN10_RS5) && NTDDI_VERSION >= NTDDI_WIN10_RS5
#define SUPPORTS_TLS13 1 #define SUPPORTS_TLS13 1
#endif #endif