gpg: Update sub-options of --keyserver-options
authorWerner Koch <wk@gnupg.org>
Tue, 21 Apr 2015 08:15:04 +0000 (10:15 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 21 Apr 2015 08:15:04 +0000 (10:15 +0200)
commitda1990bac71f6447d8ebd169c3b3b186e9f287d9
tree900ced4003c49e92bbfaac96a1b8b3cfa4c372b0
parent62b2cee85f15ee083896efdb44d10208ef1212a7
gpg: Update sub-options of --keyserver-options

* g10/options.h (KEYSERVER_HTTP_PROXY): New.
(KEYSERVER_USE_TEMP_FILES, KEYSERVER_KEEP_TEMP_FILES): Remove.
(KEYSERVER_TIMEOUT): New.
* common/keyserver.h (KEYSERVER_TIMEOUT): Remove.
* g10/keyserver.c (keyserver_opts): Remove obsolete "use-temp-files"
and "keep-temp-files". Add "http-proxy" and "timeout".
(parse_keyserver_options): Remove 1.2 compatibility option
"honor-http_proxy".  Remove "use-temp-files" and "keep-temp-files"
code.
--

Note that many of these options where implicitly used by passing any
unknown option down to the former keyserver helpers.  The don't exist
anymore thus we need to make them explicit.  Another patch will convey
them to dirmngr.  Temp files are not anymore used thus they can be
removed and will be ignored when used.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/keyserver.h
doc/dirmngr.texi
doc/gpg.texi
g10/keyserver.c
g10/options.h