mirror of
https://github.com/curl/curl.git
synced 2026-05-20 00:16:24 +03:00
parent
976eb1d50d
commit
88bb7f885f
1 changed files with 6 additions and 0 deletions
|
|
@ -1042,6 +1042,12 @@ static CURLcode cr_init_backend(struct Curl_cfilter *cf,
|
|||
config_builder, cr_verify_none);
|
||||
}
|
||||
else if(ssl_config->native_ca_store) {
|
||||
if(conn_config->CRLfile) {
|
||||
failf(data, "rustls: CRL file not supported with native CA store; "
|
||||
"the platform verifier has no CRL attachment API");
|
||||
rustls_client_config_builder_free(config_builder);
|
||||
return CURLE_NOT_BUILT_IN;
|
||||
}
|
||||
result = init_config_builder_platform_verifier(data, config_builder);
|
||||
if(result != CURLE_OK) {
|
||||
rustls_client_config_builder_free(config_builder);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue