w32: Expect gpgme-w32spawn.exe only in the gpgme installation dir.
authorWerner Koch <wk@gnupg.org>
Mon, 24 Aug 2015 14:34:29 +0000 (16:34 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 24 Aug 2015 14:34:29 +0000 (16:34 +0200)
commit06d6fd8ca01354c8f7cfc847c4ac1b868268cbaa
tree389aa1663b714b024aba6a6344c6ea0be45b9cd1
parentdf098d6a437109c57516db75addf3764a6dfda81
w32: Expect gpgme-w32spawn.exe only in the gpgme installation dir.

* src/w32-util.c (find_program_at_standard_place): Remove.
(_gpgme_get_gpg_path): Make the search order more explicit.
(_gpgme_get_gpgconf_path): Ditto.
(_gpgme_get_w32spawn_path): Search only in the inst_dir.
--

This tries to avoid possible unclear bug reports by removing the
fallback to the current gpg4win installation directory for the gpgme
helper.  It is expected that users of gpgme installing their own gpgme
version also install the matching helper.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/w32-util.c