From 9bc23732f3d257c10807cb0ffd97a9710ed7aa34 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 21 Feb 2025 16:27:12 +1100 Subject: [PATCH] chore(apple): downgrade warning about installed crypto provider (#8226) With the introduction of system extensions, the memory is no longer free'd after the tunnel disconnects meaning this can easily happen. --- rust/connlib/clients/apple/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rust/connlib/clients/apple/src/lib.rs b/rust/connlib/clients/apple/src/lib.rs index 9ff1d1293..85959ab87 100644 --- a/rust/connlib/clients/apple/src/lib.rs +++ b/rust/connlib/clients/apple/src/lib.rs @@ -337,8 +337,6 @@ fn install_rustls_crypto_provider() { let existing = rustls::crypto::ring::default_provider().install_default(); if existing.is_err() { - // On Apple platforms, network extensions get terminated on disconnect and thus all memory is free'd. - // Therefore, this should not never happen unless the above is somehow no longer true. - tracing::warn!("Skipping install of crypto provider because we already have one."); + tracing::debug!("Skipping install of crypto provider because we already have one."); } }