summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrius Štikonas <andrius@stikonas.eu>2016-09-26 16:44:43 (GMT)
committerAndrius Štikonas <andrius@stikonas.eu>2016-09-29 11:57:47 (GMT)
commit38b75709018699cd4de33ba48265f16d0125ce97 (patch)
treebec2e49e9a63bdad2cc421a29848c9d4447e5424
parentbaae8a611f97eb4006f4aa91eb27a5a28c342b49 (diff)
Fix kimap using only tls1.0.
REVIEW: 129030
-rw-r--r--src/loginjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loginjob.cpp b/src/loginjob.cpp
index 2798c64..6066522 100644
--- a/src/loginjob.cpp
+++ b/src/loginjob.cpp
@@ -383,7 +383,7 @@ void LoginJob::handleResponse(const Message &response)
switch (d->authState) {
case LoginJobPrivate::StartTls:
- d->sessionInternal()->startSsl(KTcpSocket::TlsV1);
+ d->sessionInternal()->startSsl(KTcpSocket::SecureProtocols);
break;
case LoginJobPrivate::Capability: