summaryrefslogtreecommitdiffstats
path: root/libtdenetwork/gpgmepp/eventloopinteractor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-08-19 21:15:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-08-21 11:31:08 +0900
commit89161d921313f3fc05386baa09ea59010c9fc494 (patch)
tree48754dc793913ad11b5f13e227792e11d4c987d0 /libtdenetwork/gpgmepp/eventloopinteractor.cpp
parent6905cc3eb1948181a182e3a7cd0f9a9383d29a50 (diff)
downloadtdepim-89161d92.tar.gz
tdepim-89161d92.zip
tdenetwork: remove trust item and trust list related code. This resolves issue #162.
libgpgme-dev 2.0 completely removed the code related to trust item and trust list. Moreover according the their author, that code was only working for a brief time around 2003. In view of that, the code in TDE has been fully removed rather than making conditional based on the library version available. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9441cfb0db89a24d2a01c85416677a56c9b269b0)
Diffstat (limited to 'libtdenetwork/gpgmepp/eventloopinteractor.cpp')
-rw-r--r--libtdenetwork/gpgmepp/eventloopinteractor.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/libtdenetwork/gpgmepp/eventloopinteractor.cpp b/libtdenetwork/gpgmepp/eventloopinteractor.cpp
index cdac7d56..b04a36c8 100644
--- a/libtdenetwork/gpgmepp/eventloopinteractor.cpp
+++ b/libtdenetwork/gpgmepp/eventloopinteractor.cpp
@@ -26,7 +26,6 @@
#include <gpgmepp/context.h>
#include "context_p.h"
#include <gpgmepp/key.h>
-#include <gpgmepp/trustitem.h>
#include <gpgme.h>
@@ -131,13 +130,6 @@ namespace GpgME {
instance()->nextKeyEvent( ctx, Key( key, false, ctx ? ctx->keyListMode() : 0 ) );
}
break;
- case GPGME_EVENT_NEXT_TRUSTITEM:
- {
- gpgme_trust_item_t item = static_cast<gpgme_trust_item_t>( type_data );
- instance()->nextTrustItemEvent( ctx, TrustItem( item ) );
- gpgme_trust_item_unref( item );
- }
- break;
default: // warn
;
}