aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme-json.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpgme-json.c')
-rw-r--r--src/gpgme-json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgme-json.c b/src/gpgme-json.c
index 09b34bbb..e38f9d89 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;
}