summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2022-04-23 18:05:24 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-04-25 23:46:15 +0200
commit53429306a3674746da4c8c8c556548b7d5d32fca (patch)
treeabc00d770c94ac64c44cd0b693ac0ccb9e3c2769 /kde-apps
parentkde-apps/kdepim-runtime: remove unused patch(es) (diff)
downloadgentoo-53429306a3674746da4c8c8c556548b7d5d32fca.tar.gz
gentoo-53429306a3674746da4c8c8c556548b7d5d32fca.tar.bz2
gentoo-53429306a3674746da4c8c8c556548b7d5d32fca.zip
kde-apps/kimap: remove unused patch(es)
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kimap/files/kimap-21.08.3-CVE-2021-38373.patch51
1 files changed, 0 insertions, 51 deletions
diff --git a/kde-apps/kimap/files/kimap-21.08.3-CVE-2021-38373.patch b/kde-apps/kimap/files/kimap-21.08.3-CVE-2021-38373.patch
deleted file mode 100644
index 90d216b0b846..000000000000
--- a/kde-apps/kimap/files/kimap-21.08.3-CVE-2021-38373.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 5aed4138567934c3be20cddb60fe6d7d4a10da0f Mon Sep 17 00:00:00 2001
-From: Volker Krause <vkrause@kde.org>
-Date: Mon, 15 Nov 2021 18:18:28 +0100
-Subject: [PATCH] Treat SSL handshake errors as fatal also when using STARTTLS
-
-This fixes the infinite SSL error dialog loop also when using
-STARTTLS, the previous fix was only effective for direct TLS
-connections.
-
-CCBUG: 423424
-(cherry picked from commit cbd3a03bc1d2cec48bb97570633940bbf94c34fa)
----
- src/loginjob.cpp | 22 +++++++++-------------
- 1 file changed, 9 insertions(+), 13 deletions(-)
-
-diff --git a/src/loginjob.cpp b/src/loginjob.cpp
-index 7d53187..b5fbede 100644
---- a/src/loginjob.cpp
-+++ b/src/loginjob.cpp
-@@ -552,19 +552,15 @@ void LoginJob::connectionLost()
- {
- Q_D(LoginJob);
-
-- // don't emit the result if the connection was lost before getting the tls result, as it can mean
-- // the TLS handshake failed and the socket was reconnected in normal mode
-- if (d->authState != LoginJobPrivate::StartTls) {
-- qCWarning(KIMAP_LOG) << "Connection to server lost " << d->m_socketError;
-- if (d->m_socketError == QAbstractSocket::SslHandshakeFailedError) {
-- setError(KJob::UserDefinedError);
-- setErrorText(i18n("SSL handshake failed."));
-- emitResult();
-- } else {
-- setError(ERR_COULD_NOT_CONNECT);
-- setErrorText(i18n("Connection to server lost."));
-- emitResult();
-- }
-+ qCWarning(KIMAP_LOG) << "Connection to server lost " << d->m_socketError;
-+ if (d->m_socketError == QAbstractSocket::SslHandshakeFailedError) {
-+ setError(KJob::UserDefinedError);
-+ setErrorText(i18n("SSL handshake failed."));
-+ emitResult();
-+ } else {
-+ setError(ERR_COULD_NOT_CONNECT);
-+ setErrorText(i18n("Connection to server lost."));
-+ emitResult();
- }
- }
-
---
-2.34.0
-