aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove the obsolete keyserver directory from the repo.Werner Koch2015-04-201-111/+0
| | | | | | | -- We also merge dirmngr/ChangeLog.1 into dirmngr/ChangeLog-2011 and rename keyserver/ChangeLog-2011 to dirmngr/ChangeLog-2011-ks.
* Make use of the *_NAME etc macros.Werner Koch2013-11-181-2/+2
| | | | | | | | | Replace hardwired strings at many places with new macros from config.h and use the new strusage macro replacement feature. * common/asshelp.c (lock_spawning) [W32]: Change the names of the spawn sentinels. * agent/command.c (cmd_import_key): Use asprintf to create the prompt.
* Avoid caches to get the most recent copy of the key. This is bug #1061David Shaw2009-05-281-1/+13
|
* * http.h, http.c (send_request): Pass in srvtag and make its presenceDavid Shaw2009-05-281-1/+3
| | | | | | | | | | | | | sufficient to turn the feature on. (http_open): From here. (http_document): And here. * gpgkeys_hkp.c (srv_replace): New function to transform a SRV hostname to a real hostname. (main): Call it from here for the HAVE_LIBCURL case (without libcurl is handled via the curl-shim). * curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): Add a CURLOPT_SRVTAG_GPG_HACK (passed through the the http engine).
* From 1.4:David Shaw2009-05-111-2/+2
| | | | | | | | | | | | * curl-shim.h (curl_version): No need to provide a version for curl-shim as it always matches the GnuPG version. * gpgkeys_curl.c, gpgkeys_hkp.c (main): Show which version of curl we're using as part of --version. * gpgkeys_curl.c, gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_ldap.c (show_help): Document --version.
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* From STABLE-BRANCH-1-4David Shaw2007-03-141-1/+8
| | | | | | | | | | * gpgkeys_curl.c (main): Use curl_version_info to verify that the protocol we're about to use is actually available. * curl-shim.h, curl-shim.c (curl_free): Make into a macro. (curl_version_info): New. Only advertises "http" for our shim, of course.
* Made buliding w/o curl workWerner Koch2006-09-261-11/+0
|
* Clarified cURL and OpenLDAP license issues.Werner Koch2006-09-221-0/+11
| | | | | Made readline support work.
* With --enable-gpg the keyservers are now build and a first test using gpg2Werner Koch2006-08-161-1/+1
| | | | | shows no prblems. Needs more testing of course.
* * curl-shim.h, curl-shim.c (curl_easy_init, curl_easy_setopt,David Shaw2006-02-221-1/+1
| | | | | curl_easy_perform): Mingw has 'stderr' as a macro?
* * curl-shim.h, curl-shim.c (curl_easy_init, curl_easy_setopt,David Shaw2006-02-211-1/+3
| | | | | | curl_easy_perform): Add CURLOPT_VERBOSE and CURLOPT_STDERR for easier debugging.
* * gpgkeys_hkp.c (main), gpgkeys_curl.c (main), curl-shim.h: ShowDavid Shaw2005-08-041-0/+1
| | | | | version of curl (or curl-shim) when debug is set.
* * gpgkeys_curl.c (get_key, main): Don't try and be smart about whatDavid Shaw2005-07-201-0/+1
| | | | | | | | | | | protocols we handle. Directly pass them to curl or fake-curl and see if an error comes back. * curl-shim.h, curl-shim.c (handle_error), ksutil.c (curl_err_to_gpg_err): Add support for CURLE_UNSUPPORTED_PROTOCOL in fake curl. * Makefile.am: Don't need -DFAKE_CURL any longer since it's in config.h.
* * curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): AddDavid Shaw2005-06-231-0/+2
| | | | | CURLOPT_USERPWD option for HTTP auth.
* Updated FSF street address and preparations for a release candidate.Werner Koch2005-05-311-1/+2
|
* * curl-shim.h, curl-shim.c (handle_error, curl_easy_setopt,David Shaw2005-04-171-4/+15
| | | | | curl_easy_perform): Add POST functionality to the curl shim.
* * curl-shim.h, curl-shim.c (curl_escape, curl_free): EmulateDavid Shaw2005-04-161-0/+2
| | | | | curl_escape and curl_free.
* * curl-shim.c (curl_easy_perform): Fix compile warning.David Shaw2005-02-121-1/+2
| | | | | | * curl-shim.h, gpgkeys_curl.c (main), gpgkeys_ldap.c (main): Add ca-cert-file option, to pass in the SSL cert.
* * curl-shim.h, curl-shim.c: New. This is code to fake the curl API inDavid Shaw2005-02-111-0/+71
terms of the current HTTP iobuf API. * gpgkeys_curl.c [FAKE_CURL], Makefile.am: If FAKE_CURL is set, link with the iobuf code rather than libcurl.