mirror of
https://github.com/curl/curl.git
synced 2026-05-27 21:06:55 +03:00
schannel: fix revoke_best_effort setting for proxy
- Fix revoke_best_effort reading wrong ssl config. Prior to this change the revoke_best_effort setting for the proxy was wrongly ignored in favor of the same setting for the destination host. In other words, CURLSSLOPT_REVOKE_BEST_EFFORT set via CURLOPT_PROXY_SSL_OPTIONS did not apply to the proxy and CURLSSLOPT_REVOKE_BEST_EFFORT set via CURLOPT_SSL_OPTIONS wrongly applied to the proxy. Closes https://github.com/curl/curl/pull/21683
This commit is contained in:
parent
5e4e62962c
commit
cce4d3b0ed
1 changed files with 1 additions and 1 deletions
|
|
@ -805,7 +805,7 @@ CURLcode Curl_verify_certificate(struct Curl_cfilter *cf,
|
|||
DWORD dwTrustErrorMask = ~(DWORD)(CERT_TRUST_IS_NOT_TIME_NESTED);
|
||||
dwTrustErrorMask &= pSimpleChain->TrustStatus.dwErrorStatus;
|
||||
|
||||
if(data->set.ssl.revoke_best_effort) {
|
||||
if(ssl_config->revoke_best_effort) {
|
||||
/* Ignore errors when root certificates are missing the revocation
|
||||
* list URL, or when the list could not be downloaded because the
|
||||
* server is currently unreachable. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue