mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
gpg: Fix showpref to list AEAD feature.
* g10/keyedit.c (show_prefs): Show 'AEAD' if flags.aead is set. -- The terse 'pref' command in the key editor correctly shows '[aead]' if the uid->flags.aead is set, but the more verbose 'showpref' command does not, due to an inverted condition check. Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>
This commit is contained in:
parent
8576c34750
commit
86f446fd44
@ -3419,7 +3419,7 @@ show_prefs (PKT_user_id * uid, PKT_signature * selfsig, int verbose)
|
||||
tty_printf ("MDC");
|
||||
any = 1;
|
||||
}
|
||||
if (!uid->flags.aead)
|
||||
if (uid->flags.aead)
|
||||
{
|
||||
if (any)
|
||||
tty_printf (", ");
|
||||
|
Loading…
x
Reference in New Issue
Block a user