diff options
author | Justus Winter <[email protected]> | 2016-12-09 10:46:49 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-12-09 12:13:45 +0000 |
commit | c8100fc0faadf8ba35e4df32b4760cc975e3a83d (patch) | |
tree | 42584806a6e5949d121dea3dc32a042e0a79281c | |
parent | g10: Fix memory leak. (diff) | |
download | gnupg-c8100fc0faadf8ba35e4df32b4760cc975e3a83d.tar.gz gnupg-c8100fc0faadf8ba35e4df32b4760cc975e3a83d.zip |
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 <[email protected]>
-rw-r--r-- | g10/gpg.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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. */ |