From ea7aba6e605d0469fc5c9cf38bafa7eb46e69c22 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 2 Aug 2022 12:25:23 +0200 Subject: gpgconf: Improve registry dumping. * common/w32-reg.c (read_w32_reg_string): Add arg r_hklm_fallback and change all callers. (show_configs): Indicate whether the HKLM fallback was used. * tools/gpgconf.c (show_other_registry_entries): Fix the Outlook Addin Registry key. Indicate whether the HKLM fallback was used. -- Note that this is backport from 2.2. The new support there for REG_DWORD needs to be implemented in libgpg-error, though. --- common/w32help.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/w32help.h') diff --git a/common/w32help.h b/common/w32help.h index 33000acc7..5a4e5752c 100644 --- a/common/w32help.h +++ b/common/w32help.h @@ -44,7 +44,7 @@ char **w32_parse_commandline (char *cmdline, int globing, int *r_argv, /*-- w32-reg.c --*/ char *read_w32_registry_string (const char *root, const char *dir, const char *name ); -char *read_w32_reg_string (const char *key); +char *read_w32_reg_string (const char *key, int *r_hklm_fallback); #endif /*HAVE_W32_SYSTEM*/ -- cgit v1.2.3