diff options
| author | Werner Koch <[email protected]> | 2024-04-17 10:16:20 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2024-04-17 10:57:53 +0000 |
| commit | 2a0a706eb2133bf58d78a8fefe780fe904fa2e62 (patch) | |
| tree | 7358eaaf3a1bff4ec923c062b84faaee25671b62 /g10/test-stubs.c | |
| parent | gpg: New command --quick-set-ownertrust. (diff) | |
| download | gnupg-2a0a706eb2133bf58d78a8fefe780fe904fa2e62.tar.gz gnupg-2a0a706eb2133bf58d78a8fefe780fe904fa2e62.zip | |
gpg: Mark disabled keys and add show-ownertrust list option.
* g10/options.h (LIST_SHOW_OWNERTRUST): New.
* g10/keylist.c (print_key_line): Show wonertrust and always show
whether a key is disabled.
* g10/gpg.c (parse_list_options): Add "show-ownertrust".
* g10/gpgv.c (get_ownertrust_string): Add stub.
* g10/test-stubs.c (get_ownertrust_string): Add stub.
--
Note that in a --with-colons listing the ownertrust has always been
emitted and the disabled state is marked in that listing with a
special 'D' usage.
Diffstat (limited to 'g10/test-stubs.c')
| -rw-r--r-- | g10/test-stubs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/g10/test-stubs.c b/g10/test-stubs.c index d9bead754..00145c12b 100644 --- a/g10/test-stubs.c +++ b/g10/test-stubs.c @@ -155,6 +155,15 @@ get_ownertrust_info (ctrl_t ctrl, PKT_public_key *pk, int no_create) return '?'; } +const char * +get_ownertrust_string (ctrl_t ctrl, PKT_public_key *pk, int no_create) +{ + (void)ctrl; + (void)pk; + (void)no_create; + return ""; +} + unsigned int get_ownertrust (ctrl_t ctrl, PKT_public_key *pk) { |
