aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ocsp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-07-16 13:19:45 +0000
committerWerner Koch <[email protected]>2010-07-16 13:19:45 +0000
commit8b8925a2bdbb12dd537dde20a27cdb1416c2f1ae (patch)
tree366acb6bb52e61242bb39682ddddb76615c3ba34 /dirmngr/ocsp.c
parentMake it build on W32 again. (diff)
downloadgnupg-8b8925a2bdbb12dd537dde20a27cdb1416c2f1ae.tar.gz
gnupg-8b8925a2bdbb12dd537dde20a27cdb1416c2f1ae.zip
Some work on porting dirmngr (unfinished)
Ported gpgtar to W32.
Diffstat (limited to 'dirmngr/ocsp.c')
-rw-r--r--dirmngr/ocsp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/dirmngr/ocsp.c b/dirmngr/ocsp.c
index a8db51d17..ec727f014 100644
--- a/dirmngr/ocsp.c
+++ b/dirmngr/ocsp.c
@@ -166,10 +166,8 @@ do_ocsp_request (ctrl_t ctrl, ksba_ocsp_t ocsp, gcry_md_hd_t md,
once_more:
err = http_open (&http, HTTP_REQ_POST, url, NULL,
- (opt.honor_http_proxy? HTTP_FLAG_TRY_PROXY:0)
- |HTTP_FLAG_NEED_HEADER,
- opt.http_proxy,
- NULL);
+ (opt.honor_http_proxy? HTTP_FLAG_TRY_PROXY:0),
+ opt.http_proxy, NULL, NULL, NULL);
if (err)
{
log_error (_("error connecting to `%s': %s\n"), url, gpg_strerror (err));