gpg,sm: New option --request-origin.
authorWerner Koch <wk@gnupg.org>
Fri, 23 Mar 2018 08:06:20 +0000 (09:06 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 23 Mar 2018 08:06:20 +0000 (09:06 +0100)
commit2cd35df5db3c4dfe37616dcfb1fcc644959449ef
tree9eeb212cd74e905e5d43eaf6b98f8189989111a6
parent05c55ee260edc07cd19da56dfd00347bfe3f529c
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 <wk@gnupg.org>
doc/gpg.texi
doc/gpgsm.texi
g10/call-agent.c
g10/gpg.c
g10/options.h
sm/call-agent.c
sm/gpgsm.c
sm/gpgsm.h