From 2ee2751fd1f05413d31814534639f1940a0364aa Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 10 Feb 2014 09:10:13 -0500 Subject: [PATCH] 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. --- src/libostree/ostree-repo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index aab625a4..48787ca2 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -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,