mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-09 12:54:23 +01:00
g10: List compression algorithms using human-readable names.
* g10/gpg.c (list_config): List all enabled compression algorithms under the key 'compressname'. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
3de9bad359
commit
c8100fc0fa
@ -1757,6 +1757,15 @@ list_config(char *items)
|
||||
any=1;
|
||||
}
|
||||
|
||||
if(show_all || ascii_strcasecmp (name, "compressname") == 0)
|
||||
{
|
||||
es_printf ("cfg:compressname:");
|
||||
print_algo_names (check_compress_algo,
|
||||
compress_algo_to_string);
|
||||
es_printf ("\n");
|
||||
any=1;
|
||||
}
|
||||
|
||||
if (show_all || !ascii_strcasecmp(name,"ccid-reader-id"))
|
||||
{
|
||||
/* We ignore this for GnuPG 1.4 backward compatibility. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user