1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Fix bug#998.

This commit is contained in:
Werner Koch 2009-02-09 11:09:57 +00:00
parent d1c2e66fbc
commit 02890eedd8
4 changed files with 35 additions and 3 deletions

View file

@ -2522,6 +2522,17 @@ show_key_with_all_names_colon (KBNODE keyblock)
&& !(opt.fast_list_mode || opt.no_expensive_trust_checks ))
putchar(get_ownertrust_info (pk));
putchar(':');
putchar (':');
putchar (':');
/* Print capabilities. */
if ( (pk->pubkey_usage & PUBKEY_USAGE_ENC) )
putchar ('e');
if ( (pk->pubkey_usage & PUBKEY_USAGE_SIG) )
putchar ('s');
if ( (pk->pubkey_usage & PUBKEY_USAGE_CERT) )
putchar ('c');
if ( (pk->pubkey_usage & PUBKEY_USAGE_AUTH) )
putchar ('a');
putchar('\n');
print_fingerprint (pk, NULL, 0);