summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qssl.h
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@nokia.com>2011-03-14 13:58:53 (GMT)
committerPeter Hartmann <peter.hartmann@nokia.com>2011-03-14 16:47:50 (GMT)
commitf8f6e15ee3ec0b7aec8421cb5ddaab0ff871e733 (patch)
treef11cf291f699d7add0edafb6a8423cbd0faba5e1 /src/network/ssl/qssl.h
parentb2c8421ff95ad62cbd67843ad5cd3edf72ecda31 (diff)
downloadQt-f8f6e15ee3ec0b7aec8421cb5ddaab0ff871e733.zip
Qt-f8f6e15ee3ec0b7aec8421cb5ddaab0ff871e733.tar.gz
Qt-f8f6e15ee3ec0b7aec8421cb5ddaab0ff871e733.tar.bz2
SSL: Switch default version to TlsV1SslV3 (i.e. use TLS 1 or SSL 3)
... and introduce a new enum SecureProtocols. Switching the default version is better for compatibility (e.g. servers using this option will understand both TLS and SSL 3). Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/ssl/qssl.h')
-rw-r--r--src/network/ssl/qssl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/ssl/qssl.h b/src/network/ssl/qssl.h
index e13ee78..7c47361 100644
--- a/src/network/ssl/qssl.h
+++ b/src/network/ssl/qssl.h
@@ -78,6 +78,7 @@ namespace QSsl {
TlsV1,
AnyProtocol,
TlsV1SslV3,
+ SecureProtocols = TlsV1SslV3,
UnknownProtocol = -1
};
}