From 3eb35d324186b17d00f158d71a251f1bf93b6d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Wed, 16 Dec 2020 11:55:54 +0100 Subject: QSslSocket_schannel: Don't compare against undefined value Something defined is always greater than undefined Pick-to: 6.0 Fixes: QTBUG-89530 Change-Id: I7633dd4233f7b13c3c5be17352841ec873531ef9 Reviewed-by: Timur Pocheptsov --- src/network/ssl/qsslsocket_schannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/ssl/qsslsocket_schannel.cpp') diff --git a/src/network/ssl/qsslsocket_schannel.cpp b/src/network/ssl/qsslsocket_schannel.cpp index 1c482f56d7..65642719c3 100644 --- a/src/network/ssl/qsslsocket_schannel.cpp +++ b/src/network/ssl/qsslsocket_schannel.cpp @@ -64,7 +64,7 @@ // 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() -#if NTDDI_VERSION >= NTDDI_WIN10_RS5 +#if defined(NTDDI_WIN10_RS5) && NTDDI_VERSION >= NTDDI_WIN10_RS5 #define SUPPORTS_TLS13 1 #endif -- cgit v1.2.3