summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qwindowscarootfetcher.cpp
diff options
context:
space:
mode:
authorMÃ¥rten Nordheim <marten.nordheim@qt.io>2018-08-07 10:29:46 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2018-08-09 05:34:51 +0000
commit89d4c600a512d9aea35bb4d763e43fe81b138824 (patch)
tree8d2d0fc816b940ea6a17c42c3153aff7464fddd7 /src/network/ssl/qwindowscarootfetcher.cpp
parentc1117ac496df9f7e47fdc82306bb4e20848a04d4 (diff)
Ssl: clang-tidy modernize-use-nullptr
And reflow the text where it exceeds the 100 column limit. Change-Id: I0d270c6a74a4c6ecba30e4e4d38a5d8f2cf81040 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/network/ssl/qwindowscarootfetcher.cpp')
-rw-r--r--src/network/ssl/qwindowscarootfetcher.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/network/ssl/qwindowscarootfetcher.cpp b/src/network/ssl/qwindowscarootfetcher.cpp
index 409a7d70d7..f83f96886c 100644
--- a/src/network/ssl/qwindowscarootfetcher.cpp
+++ b/src/network/ssl/qwindowscarootfetcher.cpp
@@ -107,13 +107,13 @@ void QWindowsCaRootFetcher::start()
#endif
PCCERT_CHAIN_CONTEXT chain;
BOOL result = CertGetCertificateChain(
- 0, //default engine
+ nullptr, //default engine
wincert,
- 0, //current date/time
- 0, //default store
+ nullptr, //current date/time
+ nullptr, //default store
&parameters,
0, //default dwFlags
- 0, //reserved
+ nullptr, //reserved
&chain);
#ifdef QSSLSOCKET_DEBUG
qCDebug(lcSsl) << "QWindowsCaRootFetcher" << stopwatch.elapsed() << "ms to get chain";