aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpgconf.c')
-rw-r--r--tools/gpgconf.c4
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
}