Commit 1dff5d5a authored by Milian Wolff's avatar Milian Wolff
Browse files

Use non-deprecated QSsl::TlsV1_0.

::TlsV1 is deprecated but according to the docs it is equivalent to TlsV1_0.

Fixes the compile for me.
parent f0689cea
......@@ -202,7 +202,7 @@ bool Socket::available()
void Socket::startTLS()
{
qCDebug(MAILTRANSPORT_LOG) << objectName();
d->socket->setProtocol(QSsl::TlsV1);
d->socket->setProtocol(QSsl::TlsV1_0);
d->socket->startClientEncryption();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment