Diffusion GPGME 39052913f215

core: Add MacOS fallbacks to look for binaries

Authored by aheinecke on Jan 17 2020, 12:42 PM.

Description

core: Add MacOS fallbacks to look for binaries

* src/posix-util.c (find_executable): New.
(walk_path_str): Factored out from walk_path.
(walk_path): Replaced by find_executable.
(_gpgme_get_gpg_path, _gpgme_get_gpgconf_path): Use find_executable.

This should help to locate GnuPG on MacOS systems where
it is not part of the PATH environment variable and
should reduce the need to have fixed path known
at GPGME compile time.

mailvelope/issue699

Details

Committed
aheineckeJan 17 2020, 12:42 PM
Parents
rM194272dbc3e3: cpp, qt: Use uidhash to select uids for signing
Branches
Unknown
Tags
Unknown