diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2020-12-16 11:55:54 +0100 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2020-12-16 14:54:17 +0100 |
commit | 3eb35d324186b17d00f158d71a251f1bf93b6d2d (patch) | |
tree | a5b6f992313f50b6fa88882ccae326b71125dc5c /src/network/ssl/qsslsocket_schannel.cpp | |
parent | 0ca46358321f2244386b0b6558a915cda8c6c006 (diff) |
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 <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/ssl/qsslsocket_schannel.cpp')
-rw-r--r-- | src/network/ssl/qsslsocket_schannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |