summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qsslconfiguration_p.h
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@nokia.com>2011-03-15 10:20:17 (GMT)
committerPeter Hartmann <peter.hartmann@nokia.com>2011-03-15 10:36:48 (GMT)
commit5e47ee6a97f54f1cdac577f76cd338b40e624f32 (patch)
tree193ffab329f91270006648525fec5287c1b99935 /src/network/ssl/qsslconfiguration_p.h
parentc600cbac60c0453815ee2721e0748a991343b5b2 (diff)
downloadQt-5e47ee6a97f54f1cdac577f76cd338b40e624f32.zip
Qt-5e47ee6a97f54f1cdac577f76cd338b40e624f32.tar.gz
Qt-5e47ee6a97f54f1cdac577f76cd338b40e624f32.tar.bz2
SSL: give protocol enum SecureProtocols an own value
... so that an application that uses SecureProtocols can make use of updates to a Qt version without being recompiled. Reviewed-by: Markus Goetz Reviewed-by: Richard J. Moore
Diffstat (limited to 'src/network/ssl/qsslconfiguration_p.h')
-rw-r--r--src/network/ssl/qsslconfiguration_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/ssl/qsslconfiguration_p.h b/src/network/ssl/qsslconfiguration_p.h
index 1c6815b..a5af51a 100644
--- a/src/network/ssl/qsslconfiguration_p.h
+++ b/src/network/ssl/qsslconfiguration_p.h
@@ -80,7 +80,7 @@ class QSslConfigurationPrivate: public QSharedData
{
public:
QSslConfigurationPrivate()
- : protocol(QSsl::TlsV1SslV3),
+ : protocol(QSsl::SecureProtocols),
peerVerifyMode(QSslSocket::AutoVerifyPeer),
peerVerifyDepth(0)
{ }