diff options
author | NIIBE Yutaka <[email protected]> | 2024-10-31 02:47:55 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2024-10-31 02:47:55 +0000 |
commit | 2ca38bee7a63c0f7185ca1dbf13da1cbc4933563 (patch) | |
tree | bf54ed31203338a6aaed4a6333e1bdee70a25bee | |
parent | Post release updates (diff) | |
download | gnupg-2ca38bee7a63c0f7185ca1dbf13da1cbc4933563.tar.gz gnupg-2ca38bee7a63c0f7185ca1dbf13da1cbc4933563.zip |
agent: Fix status output for LISTTRUSTED.
* agent/trustlist.c (istrusted_internal): When LISTMODE is enabled,
TRUSTLISTFPR status output should be done.
--
GnuPG-bug-id: 7363
Fixes-commit: 4fa82eec43e8d205fa336113f6ea554923fd6986
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r-- | agent/trustlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/trustlist.c b/agent/trustlist.c index 4f4ef65d2..917e56cfe 100644 --- a/agent/trustlist.c +++ b/agent/trustlist.c @@ -485,8 +485,8 @@ istrusted_internal (ctrl_t ctrl, const char *fpr, int listmode, int *r_disabled, in a locked state. */ if (already_locked) ; - else if (ti->flags.relax || ti->flags.cm || ti->flags.qual - || ti->flags.de_vs) + else if (listmode || ti->flags.relax || ti->flags.cm + || ti->flags.qual || ti->flags.de_vs) { unlock_trusttable (); locked = 0; |