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
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Fixes-commit: 4275d5fa7a51731544d243ba16628a9958ffe3ce
This commit is contained in:
NIIBE Yutaka 2024-10-31 11:47:55 +09:00 committed by Werner Koch
parent 48aa9e8265
commit a7c81efe51
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -484,8 +484,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;