Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 305211
Collapse All | Expand All

(-)kdepimlibs/kioslave/sieve/sieve.cpp (-3 / +2 lines)
Lines 364-375 Link Here
364
        }
364
        }
365
365
366
	// FIXME find a test server and test that this works
366
	// FIXME find a test server and test that this works
367
	// TODO ask the system whether SSL is available
367
  if (useTLSIfAvailable && m_supportsTLS && QSslSocket::supportsSsl()) {
368
	if (useTLSIfAvailable && QSslSocket::supportsSsl()) {
369
		sendData("STARTTLS");
368
		sendData("STARTTLS");
370
		if (operationSuccessful()) {
369
		if (operationSuccessful()) {
371
			ksDebug << "TLS has been accepted. Starting TLS..." << endl
370
			ksDebug << "TLS has been accepted. Starting TLS..." << endl
372
                                << "WARNING this is untested and may fail.";
371
              << "WARNING this is untested and may fail.";
373
			if (startSsl()) {
372
			if (startSsl()) {
374
				ksDebug << "TLS enabled successfully." << endl;
373
				ksDebug << "TLS enabled successfully." << endl;
375
				// reparse capabilities:
374
				// reparse capabilities:

Return to bug 305211