1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* options.h, import.c, keyserver-internal.h, g10.c, mainproc.c,

keyserver.c (parse_keyserver_uri): Parse keyserver URI into a structure.
Cleanup for new "guess my keyserver" functionality, as well as refreshing
via a preferred keyserver subpacket.
This commit is contained in:
David Shaw 2004-04-14 21:33:45 +00:00
parent 2286674b9e
commit a9b00b06d1
7 changed files with 80 additions and 53 deletions

View file

@ -2074,8 +2074,9 @@ main( int argc, char **argv )
#endif /* __riscos__ */
break;
case oKeyServer:
opt.keyserver.uri=m_strdup(pargs.r.ret_str);
if(parse_keyserver_uri(pargs.r.ret_str,configname,configlineno))
opt.keyserver=parse_keyserver_uri(pargs.r.ret_str,
configname,configlineno);
if(!opt.keyserver)
log_error(_("could not parse keyserver URI\n"));
break;
case oKeyServerOptions: