]> granicus.if.org Git - curl/commit
tool_operate: Fix showing HTTPS-Proxy options on CURLE_SSL_CACERT
authorJay Satiro <raysatiro@yahoo.com>
Thu, 16 Mar 2017 22:23:31 +0000 (18:23 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Thu, 16 Mar 2017 22:23:31 +0000 (18:23 -0400)
commit98afec033e425b56cce00b9ef5b44828df0276f0
treee1c43e5fad21fcbf5a2b63db712170430c0c0ccb
parentf7b3914c558d9d2995208171bea42ca58b73237f
tool_operate: Fix showing HTTPS-Proxy options on CURLE_SSL_CACERT

- Show the HTTPS-proxy options on CURLE_SSL_CACERT if libcurl was built
  with HTTPS-proxy support.

Prior to this change those options were shown only if an HTTPS-proxy was
specified by --proxy, but that did not take into account environment
variables such as http_proxy, https_proxy, etc. Follow-up to e1187c4.

Bug: https://github.com/curl/curl/issues/1331
Reported-by: Nehal J Wani
src/tool_operate.c