diff options
| author | NIIBE Yutaka <[email protected]> | 2025-10-14 04:55:33 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2025-10-21 04:16:55 +0000 |
| commit | 39cc15029017ba5fd6d04f710e5a3125ed3b30a8 (patch) | |
| tree | eaa7b2fc40fad7657b42a3245e1eeb90ac953a87 /tools/gpgconf.c | |
| parent | common,dirmngr:w32: Fix for semi-hosted environment. (diff) | |
| download | gnupg-39cc15029017ba5fd6d04f710e5a3125ed3b30a8.tar.gz gnupg-39cc15029017ba5fd6d04f710e5a3125ed3b30a8.zip | |
build,common,g13,sm,tools: Require GpgRT 1.56.
* configure.ac (NEED_GPGRT_VERSION): Require 1.56.
* g13/g13.c (main): Remove support of old gpgrt.
* sm/gpgsm.c (main): Likewise.
* tools/gpg-wks-client.c (wrong_args, main): Likewise.
* tools/gpgconf.c (my_read_reg_string): Likewise.
* common/util.h (GPG_ERR_UNEXPECTED_PACKET): Likewise.
* common/mapstrings.c (map_static_macro_string): Likewise.
--
GnuPG-bug-id: 7855
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tools/gpgconf.c')
| -rw-r--r-- | tools/gpgconf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/gpgconf.c b/tools/gpgconf.c index 8f565793a..9fcd5dfd5 100644 --- a/tools/gpgconf.c +++ b/tools/gpgconf.c @@ -1493,7 +1493,7 @@ my_read_reg_string (const char *name, int *r_hklm_fallback) { #ifdef HAVE_W32_SYSTEM return read_w32_reg_string (name, r_hklm_fallback); -#elif GPGRT_VERSION_NUMBER >= 0x013400 /* 1.52 */ +#else static gpgrt_nvc_t registry; static int no_registry; const char *s; @@ -1558,8 +1558,6 @@ my_read_reg_string (const char *name, int *r_hklm_fallback) xfree (namebuffer); s = e? gpgrt_nve_value (e) : NULL; return s? xtrystrdup (s) : NULL; -#else /* GpgRT too old */ - return NULL; #endif } |
