1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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 <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2024-10-31 11:47:55 +09:00
parent 5c0383d558
commit 2ca38bee7a
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054

View File

@ -485,8 +485,8 @@ istrusted_internal (ctrl_t ctrl, const char *fpr, int listmode, int *r_disabled,
in a locked state. */ in a locked state. */
if (already_locked) if (already_locked)
; ;
else if (ti->flags.relax || ti->flags.cm || ti->flags.qual else if (listmode || ti->flags.relax || ti->flags.cm
|| ti->flags.de_vs) || ti->flags.qual || ti->flags.de_vs)
{ {
unlock_trusttable (); unlock_trusttable ();
locked = 0; locked = 0;