blob: 006c7b5a47e5a75d0afd16edbf98d24c1c53d74b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
http://bugs.kde.org/show_bug.cgi?id=212951
http://bugs.gentoo.org/show_bug.cgi?id=305211
--- kioslave/sieve/sieve.cpp
+++ kioslave/sieve/sieve.cpp
@@ -364,12 +364,11 @@
}
// FIXME find a test server and test that this works
- // TODO ask the system whether SSL is available
- if (useTLSIfAvailable && QSslSocket::supportsSsl()) {
+ if (useTLSIfAvailable && m_supportsTLS && QSslSocket::supportsSsl()) {
sendData("STARTTLS");
if (operationSuccessful()) {
ksDebug << "TLS has been accepted. Starting TLS..." << endl
- << "WARNING this is untested and may fail.";
+ << "WARNING this is untested and may fail.";
if (startSsl()) {
ksDebug << "TLS enabled successfully." << endl;
// reparse capabilities:
|