Skip to content

Commit

Permalink
Ignore errors while adding der certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
casperstorm committed Feb 15, 2025
1 parent 0847327 commit 839ad41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irc/src/connection/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub async fn connect<'a>(
let mut roots = rustls::RootCertStore::empty();

for cert in rustls_native_certs::load_native_certs()? {
roots.add(cert).unwrap();
let _ = roots.add(cert);
}

if let Some(cert_path) = root_cert_path {
Expand Down

0 comments on commit 839ad41

Please sign in to comment.