mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:43:32 +03:00
ssl native_ca_store: always reinit
Add bit `native_ca_store_opt` to keep the setting of CURLOPT_(PROXY_)SSL_OPTIONS and use that to calculate every easy transfer if a native CA store shall be used or not. This avoids `native_ca_store` getting stuck on TRUE after being set once. Closes #21902
This commit is contained in:
parent
435fb96dcf
commit
d69bfad3fa
3 changed files with 28 additions and 19 deletions
|
|
@ -418,7 +418,8 @@ static CURLcode doh_probe_run(struct Curl_easy *data,
|
|||
}
|
||||
|
||||
(void)curl_easy_setopt(doh, CURLOPT_SSL_OPTIONS,
|
||||
(long)data->set.ssl.primary.ssl_options);
|
||||
((long)data->set.ssl.primary.ssl_options &
|
||||
~CURLSSLOPT_AUTO_CLIENT_CERT));
|
||||
|
||||
doh->state.internal = TRUE;
|
||||
doh->master_mid = data->mid; /* master transfer of this one */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue