diff options
author | MÃ¥rten Nordheim <marten.nordheim@qt.io> | 2020-12-16 11:55:54 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-12-17 13:13:04 +0000 |
commit | 8f0eb2c6b0371afc60028398b908f4500979e7d6 (patch) | |
tree | fd680359fc1742d277922a17d8f17037dcfea8f5 | |
parent | 9fd0c6afc75663451316f8e010e77e2439505287 (diff) |
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>
-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 |