summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrius Štikonas <andrius@stikonas.eu>2016-09-26 16:37:27 (GMT)
committerAndrius Štikonas <andrius@stikonas.eu>2016-09-29 11:59:01 (GMT)
commit98c3d5326a510dfd5ddc10f2ff95b1bf690342e2 (patch)
treee49ee00b01df3b9120763e044aeda3f36e365a72
parent4f99a7b6dbd81dc9cfbbbd423ce5dae577e192ce (diff)
Fix managesieve using only tls1.0.
REVIEW: 129029
-rw-r--r--src/kmanagesieve/sessionthread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kmanagesieve/sessionthread.cpp b/src/kmanagesieve/sessionthread.cpp
index d6d6346..081d1d8 100644
--- a/src/kmanagesieve/sessionthread.cpp
+++ b/src/kmanagesieve/sessionthread.cpp
@@ -427,7 +427,7 @@ void SessionThread::doStartSsl()
m_sslCheck->setInterval(60 * 1000);
connect(m_sslCheck, &QTimer::timeout, this, &SessionThread::slotSslTimeout);
}
- m_socket->setAdvertisedSslVersion(KTcpSocket::TlsV1);
+ m_socket->setAdvertisedSslVersion(KTcpSocket::SecureProtocols);
m_socket->ignoreSslErrors();
connect(m_socket, &KTcpSocket::encrypted, this, &SessionThread::slotEncryptedDone);
m_sslCheck->start();