[PATCH] openssl: toggling CURLSSLOPT_NO_PARTIALCHAIN makes a different CA cache
Reported-by: Stanislav Fort
Closes #20009
Backported-by: Samuel Henrique <samueloph@debian.org>
* Refresh patch context for lib/vtls/openssl.c
Backported by: Samuel Henrique <samueloph@debian.org>
* Bookworm 7.88.1 names the cache struct `multi_ssl_backend_data`
(vs `ossl_x509_share` in 8.14.1+) and the helpers `cached_x509_store_*`
(without the `ossl_` prefix). Apply the same logic against those names.
Replace the upstream `CURL_UNCONST(data)` macro with a plain
`(struct Curl_easy *)data` cast since CURL_UNCONST does not exist in
bookworm.
Gbp-Pq: Name CVE-2025-14819.patch