From 6d71430a2a37f9d69a12bb66c216e73515b5ddf5 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Thu, 25 Apr 2024 15:41:44 -0400 Subject: [PATCH] . --- ext/tls/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/tls/lib.rs b/ext/tls/lib.rs index 58fd2bed0a6ae8..6be0d81fa3fa78 100644 --- a/ext/tls/lib.rs +++ b/ext/tls/lib.rs @@ -260,7 +260,7 @@ pub fn create_client_config( match rustls_pemfile::certs(reader) { Ok(certs) => { for cert in certs { - root_cert_store.add(CertificateDer::from(cert)); + root_cert_store.add(CertificateDer::from(cert))?; } } Err(e) => {