gnupg/g10 (ChangeLog g10.c keyserver.c options.h)

cvs user dshaw cvs at cvs.gnupg.org
Mon Apr 19 18:02:12 CEST 2004


    Date: Monday, April 19, 2004 @ 18:02:12
  Author: dshaw
    Path: /cvs/gnupg/gnupg/g10

Modified: ChangeLog g10.c keyserver.c options.h

* 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.


-------------+
 ChangeLog   |   21 +++++
 g10.c       |   11 ++
 keyserver.c |  238 +++++++++++++++++++++++++++++++++++-----------------------
 options.h   |    1 
 4 files changed, 177 insertions(+), 94 deletions(-)



More information about the Gnupg-commits mailing list