summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/kernel/qauthenticator.cpp6
-rw-r--r--src/network/kernel/qauthenticator_p.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/network/kernel/qauthenticator.cpp b/src/network/kernel/qauthenticator.cpp
index c1df4571d3..9d3159407a 100644
--- a/src/network/kernel/qauthenticator.cpp
+++ b/src/network/kernel/qauthenticator.cpp
@@ -339,12 +339,12 @@ public:
QAuthenticatorPrivate::QAuthenticatorPrivate()
: method(None)
+ #ifdef Q_OS_WIN
+ , ntlmWindowsHandles(0)
+ #endif
, hasFailed(false)
, phase(Start)
, nonceCount(0)
-#ifdef Q_OS_WIN32
- , ntlmWindowsHandles(0)
-#endif
{
cnonce = QCryptographicHash::hash(QByteArray::number(qrand(), 16) + QByteArray::number(qrand(), 16),
QCryptographicHash::Md5).toHex();
diff --git a/src/network/kernel/qauthenticator_p.h b/src/network/kernel/qauthenticator_p.h
index b842dc3ab0..491e004737 100644
--- a/src/network/kernel/qauthenticator_p.h
+++ b/src/network/kernel/qauthenticator_p.h
@@ -80,7 +80,7 @@ public:
Method method;
QString realm;
QByteArray challenge;
-#ifdef Q_OS_WIN32
+#ifdef Q_OS_WIN
QNtlmWindowsHandles *ntlmWindowsHandles;
#endif
bool hasFailed; //credentials have been tried but rejected by server.