diff options
author | Werner Koch <[email protected]> | 2018-03-23 08:06:20 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-03-23 08:06:20 +0000 |
commit | 2cd35df5db3c4dfe37616dcfb1fcc644959449ef (patch) | |
tree | 9eeb212cd74e905e5d43eaf6b98f8189989111a6 /sm/gpgsm.h | |
parent | agent: New OPTION pretend-request-origin (diff) | |
download | gnupg-2cd35df5db3c4dfe37616dcfb1fcc644959449ef.tar.gz gnupg-2cd35df5db3c4dfe37616dcfb1fcc644959449ef.zip |
gpg,sm: New option --request-origin.
* g10/gpg.c (oRequestOrigin): New const.
(opts): New option --request-origin.
(main): Parse that option.
* g10/options.h (struct opt): Add field request_origin.
* g10/call-agent.c (start_agent): Send option to the agent.
* sm/gpgsm.c (oRequestOrigin): New const.
(opts): New option --request-origin.
(main): Parse that option.
* sm/gpgsm.h (struct opt): Add field request_origin.
* sm/call-agent.c (start_agent): Send option to the agent.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | sm/gpgsm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h index cd4fc995f..325948aff 100644 --- a/sm/gpgsm.h +++ b/sm/gpgsm.h @@ -86,6 +86,7 @@ struct int with_keygrip; /* Option --with-keygrip active. */ int pinentry_mode; + int request_origin; int armor; /* force base64 armoring (see also ctrl.with_base64) */ int no_armor; /* don't try to figure out whether data is base64 armored*/ |