Some work on porting dirmngr (unfinished)
[gnupg.git] / dirmngr / ocsp.c
index a8db51d..ec727f0 100644 (file)
@@ -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));