[Pkg-gnupg-commit] [gnupg2] 83/180: g10: List compression algorithms using human-readable names.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Dec 24 22:29:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit c8100fc0faadf8ba35e4df32b4760cc975e3a83d
Author: Justus Winter <justus at g10code.com>
Date:   Fri Dec 9 11:46:49 2016 +0100

    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 at g10code.com>
---
 g10/gpg.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/g10/gpg.c b/g10/gpg.c
index 19a7a41..ddb7715 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -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.  */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list