aboutsummaryrefslogtreecommitdiffstats
path: root/g10/app-openpgp.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-04-19 16:02:11 +0000
committerDavid Shaw <[email protected]>2004-04-19 16:02:11 +0000
commit3ec6fecadee0a04363345ec6b5c867f251ec458f (patch)
tree972b82b3c1121638d54a61299679a62d7914ba58 /g10/app-openpgp.c
parent2004-04-02 Thomas Schwinge <[email protected]> (diff)
downloadgnupg-3ec6fecadee0a04363345ec6b5c867f251ec458f.tar.gz
gnupg-3ec6fecadee0a04363345ec6b5c867f251ec458f.zip
* options.h, g10.c (main): Add keyserver-option honor-keyserver-url.
parse_keyserver_options now returns a success code. * keyserver.c (parse_keyserver_options): Return error on failure to parse. Currently there is no way to fail as any unrecognized options get saved to be sent to the keyserver plugins later. Check length of keyserver option tokens since with =arguments we must only match the prefix. (free_keyserver_spec): Moved code from parse_keyserver_url. (keyserver_work, keyserver_spawn): Pass in a struct keyserver_spec rather than using the global keyserver option. (calculate_keyid_fpr): New. Fills in a KEYDB_SEARCH_DESC for a key. (keyidlist): New implementation using get_pubkey_bynames rather than searching the keydb directly. If honor-keyserver-url is set, make up a keyserver_spec and try and fetch that key directly. Do not include it in the returned keyidlist in that case.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions