aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gpgme/ChangeLog8
-rw-r--r--gpgme/w32-util.c8
2 files changed, 16 insertions, 0 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog
index c68b6cab..b1ac8694 100644
--- a/gpgme/ChangeLog
+++ b/gpgme/ChangeLog
@@ -1,3 +1,11 @@
+2008-10-18 Marcus Brinkmann <[email protected]>
+
+ * 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 <[email protected]>
* w32-glib-io.c (_gpgme_io_fd2str): Use "%d" and not "%ld" to work
diff --git a/gpgme/w32-util.c b/gpgme/w32-util.c
index 05a9069b..a4a01f40 100644
--- a/gpgme/w32-util.c
+++ b/gpgme/w32-util.c
@@ -225,6 +225,7 @@ w32_shgetfolderpath (HWND a, int b, HANDLE c, DWORD d, LPSTR e)
}
+#if 0
static char *
find_program_in_registry (const char *name)
{
@@ -245,6 +246,7 @@ find_program_in_registry (const char *name)
}
return program;
}
+#endif
static char *
@@ -307,8 +309,10 @@ _gpgme_get_gpg_path (void)
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)
@@ -324,8 +328,10 @@ _gpgme_get_gpgsm_path (void)
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)
@@ -341,8 +347,10 @@ _gpgme_get_gpgconf_path (void)
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)