diff options
Diffstat (limited to 'dirmngr/ocsp.c')
-rw-r--r-- | dirmngr/ocsp.c | 6 |
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)); |