summaryrefslogtreecommitdiffstats
path: root/src/network/ssl
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-09-01 15:05:56 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-09-01 15:06:45 (GMT)
commit4d403875d9d88d2acb0433511eb3f44e0dee4377 (patch)
tree0701d859e8c4d1ceca599799163e1f1efaf1ab49 /src/network/ssl
parent8e2213ea0bb3692783c03fe4da2df659c1859136 (diff)
downloadQt-4d403875d9d88d2acb0433511eb3f44e0dee4377.zip
Qt-4d403875d9d88d2acb0433511eb3f44e0dee4377.tar.gz
Qt-4d403875d9d88d2acb0433511eb3f44e0dee4377.tar.bz2
QtNetwork: More Coverity fixes
Diffstat (limited to 'src/network/ssl')
-rw-r--r--src/network/ssl/qsslsocket.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/network/ssl/qsslsocket.cpp b/src/network/ssl/qsslsocket.cpp
index 6858d40..0e0c347 100644
--- a/src/network/ssl/qsslsocket.cpp
+++ b/src/network/ssl/qsslsocket.cpp
@@ -1745,7 +1745,13 @@ qint64 QSslSocket::writeData(const char *data, qint64 len)
\internal
*/
QSslSocketPrivate::QSslSocketPrivate()
- : initialized(false), readyReadEmittedPointer(0), plainSocket(0)
+ : initialized(false)
+ , mode(QSslSocket::UnencryptedMode)
+ , autoStartHandshake(false)
+ , connectionEncrypted(false)
+ , ignoreAllSslErrors(false)
+ , readyReadEmittedPointer(0)
+ , plainSocket(0)
{
QSslConfigurationPrivate::deepCopyDefaultConfiguration(&configuration);
}