Home GnuPG
Diffusion GPGME 7e6a65e66a96

Remove the long deprecated and never working trust list functions.

Description

Remove the long deprecated and never working trust list functions.

* src/trust-item.c: Remove file.
* src/trustlist.c: Remove file.
* src/Makefile.am (main_sources): Remove those files.
* src/gpgme.h.in (GPGME_EVENT_NEXT_TRUSTITEM): Remove.
(gpgme_trust_item_t, GpgmeTrustItem): Remove.
(gpgme_op_trustlist_start): Remove.
(gpgme_op_trustlist_next): Remove.
(gpgme_op_trustlist_end): Remove.
(gpgme_trust_item_ref): Remove.
(gpgme_trust_item_unref, gpgme_trust_item_release): Remove.
* src/gpgme.def: Remove removed functions.
* src/libgpgme.vers: Ditto.

The GPGME_ATTR_foo based functions are deprecated since 2003 and it is
time to remove them now.

The trustlist functions never worked:

This never worked in reality because the required feature has been
removed from GnuPG version 1.3.2 soon after introduction of this
feature in gpgme in 2003. It was anyway marked as experimental.

They even returned GPG_ERR_NOT_IMPLEMENTED since gpgme 1.14.0 (summer

  1. instead of failing with a incomprehensible error code.

Details

Provenance
wernerAuthored on Fri, Feb 21, 10:56 AM
Parents
rMd54d6eaa642b: Remove long deprecated functions.
Branches
Unknown
Tags
Unknown
Tasks
T4834: gpgme library calls gpg with --list-trust-path