rustls: simplify init err path
No binary (build failed)
—
(log yok)
| @@ -744,9 +744,7 @@ init_config_builder_verifier(struct Curl_easy *data, | |
| if(rr != RUSTLS_RESULT_OK) { | |
| rustls_failf(data, rr, "failed to build trusted root certificate store"); | |
| result = CURLE_SSL_CACERT_BADFILE; | |
| - | if(result) { |
| - | goto cleanup; |
| - | } |
| + | goto cleanup; |
| } | |
| verifier_builder = rustls_web_pki_server_cert_verifier_builder_new(roots); | |