[git] GPGME - branch, master, updated. gpgme-1.10.0-159-ge5abf48
by Werner Koch
cvs at cvs.gnupg.org
Fri Mar 23 15:41:20 CET 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".
The branch, master has been updated
via e5abf4827aead50437bbdff8cfdd5e9fdc6ed72d (commit)
from b9000bc293164ff62efa7e91e5cf6d5fc19d482f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e5abf4827aead50437bbdff8cfdd5e9fdc6ed72d
Author: Werner Koch <wk at gnupg.org>
Date: Fri Mar 23 15:32:06 2018 +0100
json: Use a request origin of "browser".
* src/gpgme-json.c (_create_new_context): Set flag.
Signed-off-by: Werner Koch <wk at gnupg.org>
diff --git a/src/gpgme-json.c b/src/gpgme-json.c
index 09b34bb..e38f9d8 100644
--- a/src/gpgme-json.c
+++ b/src/gpgme-json.c
@@ -433,6 +433,7 @@ _create_new_context (gpgme_protocol_t proto)
if (err)
log_fatal ("error creating GPGME context: %s\n", gpg_strerror (err));
gpgme_set_protocol (ctx, proto);
+ gpgme_set_ctx_flag (ctx, "request-origin", "browser");
return ctx;
}
-----------------------------------------------------------------------
Summary of changes:
src/gpgme-json.c | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
GnuPG Made Easy
http://git.gnupg.org
More information about the Gnupg-commits
mailing list