aboutsummaryrefslogtreecommitdiffstats
path: root/src/key.c
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2021-05-04 16:35:29 +0000
committerIngo Klöcker <[email protected]>2021-05-05 17:23:48 +0000
commit276187f6b62a73e92b1c20f589510f80ab9e88d2 (patch)
treee7cfb6e978eb2d49622cd46a0cd21abc25fd933f /src/key.c
parentdoc: Add MIT license notice. (diff)
downloadgpgme-276187f6b62a73e92b1c20f589510f80ab9e88d2.tar.gz
gpgme-276187f6b62a73e92b1c20f589510f80ab9e88d2.zip
core: Extend gpgme_key_sig_t with trust signature members.
* src/gpgme.h.in (struct _gpgme_key_sig): Add fields 'trust_depth', 'trust_value', and 'trust_scope'. * src/key.c (gpgme_key_unref): Free trust_scope. * src/keylist.c (keylist_colon_handler): Set the fields. * tests/run-keylist.c (main): Print the fields. -- The trust signature values are part of gpg's output since the year 2003. This now adds support to gpgme. GnuPG-bug-id: 5245, 5419
Diffstat (limited to 'src/key.c')
-rw-r--r--src/key.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/key.c b/src/key.c
index e4b85774..322bd0ac 100644
--- a/src/key.c
+++ b/src/key.c
@@ -369,6 +369,7 @@ gpgme_key_unref (gpgme_key_t key)
notation = next_notation;
}
+ free (keysig->trust_scope);
free (keysig);
keysig = next_keysig;
}