aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/ksutil.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Updated FSF street address and preparations for a release candidate.Werner Koch2005-05-311-1/+2
|
* * ksutil.h, ksutil.c: #ifdef so we can build without libcurl orDavid Shaw2005-05-041-2/+7
| | | | | fake-curl.
* * gpgkeys_hkp.c, gpgkeys_oldhkp.c, ksutil.h: Some minor cleanup andDavid Shaw2005-05-021-7/+5
| | | | | comments as to the size of MAX_LINE and MAX_URL.
* * ksutil.h, ksutil.c (curl_writer), gpgkeys_curl.c (get_key): Pass aDavid Shaw2005-04-171-1/+9
| | | | | | context to curl_writer so we can support multiple fetches in a single session.
* * gpgkeys_curl.c (main): If the http-proxy option is given without anyDavid Shaw2005-04-161-0/+14
| | | | | | | | | | 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.
* * gpgkeys_ldap.c, ksutil.h, ksutil.c (print_nocr): Moved fromDavid Shaw2005-03-221-0/+1
| | | | | | | | | 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.
* * gpgkeys_curl.c, gpgkeys_finger.c, gpgkeys_ldap.c: Start usingDavid Shaw2005-03-171-0/+1
| | | | | | | | 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.
* * ksutil.h, ksutil.c (ks_action_to_string): New. (free_ks_options): OnlyDavid Shaw2005-03-161-1/+4
| | | | | free if options exist.
* * ksutil.h, ksutil.c (init_ks_options, free_ks_options,David Shaw2005-03-161-0/+25
| | | | | | parse_ks_options): Pull a lot of duplicated code into a single options parser for all keyserver helpers.
* * ksutil.h: Up the default timeout to two minutes.David Shaw2005-02-011-2/+2
|
* * gpgkeys_curl.c: s/MAX_PATH/URLMAX_PATH/g to avoid a clash withWerner Koch2005-01-181-2/+3
| | | | | | | | the W32 defined macro. Removed unneeded initialization of static variables. * gpgkeys_http.c: Ditto. * ksutil.h: s/MAX_PATH/URLMAX_PATH/.
* * ksutil.h, gpgkeys_curl.c, gpgkeys_hkp.c, gpgkeys_ldap.c,David Shaw2005-01-131-1/+32
| | | | | | gpgkeys_finger.c, gpgkeys_http.c: Part 2 of the cleanup. Move all the various defines to ksutil.h.
* * gpgkeys_ldap.c (main), gpgkeys_hkp.c (main), gpgkeys_http.c (main),David Shaw2004-10-131-0/+30
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.