Werner Koch
7d4043ca57
Updated FSF street address and preparations for a release candidate.
2005-05-31 08:39:18 +00:00
David Shaw
d9d902dffb
* ksutil.h, ksutil.c: #ifdef so we can build without libcurl or
...
fake-curl.
2005-05-04 13:34:25 +00:00
David Shaw
5e6d360596
* gpgkeys_hkp.c, gpgkeys_oldhkp.c, ksutil.h: Some minor cleanup and
...
comments as to the size of MAX_LINE and MAX_URL.
2005-05-02 00:46:39 +00:00
David Shaw
5609f5eafd
* ksutil.h, ksutil.c (curl_writer), gpgkeys_curl.c (get_key): Pass a
...
context to curl_writer so we can support multiple fetches in a single
session.
2005-04-17 01:52:04 +00:00
David Shaw
5748f595b0
* gpgkeys_curl.c (main): If the http-proxy option is given without any
...
arguments, try to get the proxy from the environment.
* ksutil.h, ksutil.c (curl_err_to_gpg_err, curl_writer): Copy from
gpgkeys_curl.c.
* gpgkeys_oldhkp.c: Copy from gpgkeys_hkp.c.
2005-04-16 18:50:46 +00:00
David Shaw
1517f0e945
* gpgkeys_ldap.c, ksutil.h, ksutil.c (print_nocr): Moved from
...
gpgkeys_ldap.c. Print a string, but strip out any CRs.
* gpgkeys_finger.c (get_key), gpgkeys_hkp.c (get_key), gpgkeys_http.c
(get_key): Use it here when outputting key material to canonicalize
line endings.
2005-03-22 23:41:08 +00:00
David Shaw
efa0dd21a2
* gpgkeys_curl.c, gpgkeys_finger.c, gpgkeys_ldap.c: Start using
...
parse_ks_options and remove a lot of common code.
* ksutil.h, ksutil.c (parse_ks_options): Parse OPAQUE, and default
debug with no arguments to 1.
2005-03-17 16:42:41 +00:00
David Shaw
4f347281a9
* ksutil.h, ksutil.c (ks_action_to_string): New. (free_ks_options): Only
...
free if options exist.
2005-03-16 23:46:07 +00:00
David Shaw
a90637513c
* ksutil.h, ksutil.c (init_ks_options, free_ks_options,
...
parse_ks_options): Pull a lot of duplicated code into a single options
parser for all keyserver helpers.
2005-03-16 15:17:03 +00:00
David Shaw
9af66d4634
* ksutil.h: Up the default timeout to two minutes.
2005-02-01 17:08:18 +00:00
Werner Koch
02a85a958c
* gpgkeys_curl.c: s/MAX_PATH/URLMAX_PATH/g to avoid a clash with
...
the W32 defined macro. Removed unneeded initialization of static
variables.
* gpgkeys_http.c: Ditto.
* ksutil.h: s/MAX_PATH/URLMAX_PATH/.
2005-01-18 11:16:10 +00:00
David Shaw
996c82ffd6
* ksutil.h, gpgkeys_curl.c, gpgkeys_hkp.c, gpgkeys_ldap.c,
...
gpgkeys_finger.c, gpgkeys_http.c: Part 2 of the cleanup. Move all the
various defines to ksutil.h.
2005-01-13 23:37:26 +00:00
David Shaw
d603b7c3a1
* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main), gpgkeys_http.c (main),
...
gpgkeys_finger.c (main): Call timeout functions before performing an
action that could block for a long time.
* ksutil.h, ksutil.c: New. Right now just contains timeout functions.
2004-10-13 18:30:29 +00:00