repo: Don't set GPG engine executable path

The instructions one finds on the internets are apparently wrong, we
really need to keep the default here, since gpgme uses it to actually
find the helper binary it runs.

This fixes the GPG tests for me on EL7 at least.
This commit is contained in:
Colin Walters 2014-02-10 09:10:13 -05:00
parent 8dd7b5575e
commit 2ee2751fd1
1 changed files with 1 additions and 1 deletions

View File

@ -1581,7 +1581,7 @@ ostree_repo_sign_commit (OstreeRepo *self,
if (homedir != NULL)
{
if ((err = gpgme_ctx_set_engine_info (context, info->protocol, "ostree", homedir))
if ((err = gpgme_ctx_set_engine_info (context, info->protocol, NULL, homedir))
!= GPG_ERR_NO_ERROR)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,