We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 857e39a commit b64c582Copy full SHA for b64c582
crates/trigger-http/src/lib.rs
@@ -962,8 +962,7 @@ fn get_client_tls_config_for_authority(
962
) {
963
(Some(cert_chain), Some(private_key)) => Ok(rustls::ClientConfig::builder()
964
.with_root_certificates(root_cert_store)
965
- .with_client_auth_cert(cert_chain.to_owned(), private_key.clone_key())
966
- .unwrap()),
+ .with_client_auth_cert(cert_chain.to_owned(), private_key.clone_key())?),
967
_ => Ok(rustls::ClientConfig::builder()
968
969
.with_no_client_auth()),
0 commit comments