* w32-util.c (find_program_in_registry): Don't define.
(_gpgme_get_gpg_path, _gpgme_get_gpgsm_path)
(_gpgme_get_gpgconf_path): Do not check for fooProgram in the
registry anymore. It is now no longer possible to overwrite the
default location in that way.
+2008-10-18 Marcus Brinkmann <marcus@g10code.com>
+
+ * w32-util.c (find_program_in_registry): Don't define.
+ (_gpgme_get_gpg_path, _gpgme_get_gpgsm_path)
+ (_gpgme_get_gpgconf_path): Do not check for fooProgram in the
+ registry anymore. It is now no longer possible to overwrite the
+ default location in that way.
+
2008-10-17 Werner Koch <wk@g10code.com>
* w32-glib-io.c (_gpgme_io_fd2str): Use "%d" and not "%ld" to work
}
+#if 0
static char *
find_program_in_registry (const char *name)
{
}
return program;
}
+#endif
static char *
static char *gpg_program;
LOCK (get_path_lock);
+#if 0
if (!gpg_program)
gpg_program = find_program_in_registry ("gpgProgram");
+#endif
if (!gpg_program)
gpg_program = find_program_in_inst_dir ("gpg.exe");
if (!gpg_program)
static char *gpgsm_program;
LOCK (get_path_lock);
+#if 0
if (!gpgsm_program)
gpgsm_program = find_program_in_registry ("gpgsmProgram");
+#endif
if (!gpgsm_program)
gpgsm_program = find_program_in_inst_dir ("gpgsm.exe");
if (!gpgsm_program)
static char *gpgconf_program;
LOCK (get_path_lock);
+#if 0
if (!gpgconf_program)
gpgconf_program = find_program_in_registry ("gpgconfProgram");
+#endif
if (!gpgconf_program)
gpgconf_program = find_program_in_inst_dir ("gpgconf.exe");
if (!gpgconf_program)