We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58128fe commit e7338b3Copy full SHA for e7338b3
curl/src/client.cc
@@ -450,6 +450,17 @@ namespace leatherman { namespace curl {
450
}
451
452
curl_easy_setopt_maybe(ctx, CURLOPT_CRLFILE, _client_crl.c_str());
453
+
454
+ #ifdef CURLSSLOPT_NO_PARTIALCHAIN
455
+ // Curl 7.68 has a bug where it defaults to passing
456
+ // X509_V_FLAG_PARTIAL_CHAIN to openssl. This breaks CRL
457
+ // chains, since the crl logic passes
458
+ // X509_V_FLAG_CRL_CHECK_ALL, which requires a full chain.
459
+ //
460
+ // We disable partial chains explicitly here to work around
461
+ // this.
462
+ curl_easy_setopt_maybe(ctx, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NO_PARTIALCHAIN);
463
+ #endif
464
465
466
void client::set_proxy_info(context &ctx) {
0 commit comments