[ostree] repo: Don't set GPG engine executable path
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] repo: Don't set GPG engine executable path
- Date: Mon, 10 Feb 2014 18:39:34 +0000 (UTC)
commit 2ee2751fd1f05413d31814534639f1940a0364aa
Author: Colin Walters <walters verbum org>
Date: Mon Feb 10 09:10:13 2014 -0500
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c
index aab625a..48787ca 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]