json: Use a request origin of "browser".
* src/gpgme-json.c (_create_new_context): Set flag. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
b9000bc293
commit
e5abf4827a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user