diff --git a/talpid-tunnel-config-client/src/classic_mceliece.rs b/talpid-tunnel-config-client/src/classic_mceliece.rs index 363fbec82b5b..7484313906a3 100644 --- a/talpid-tunnel-config-client/src/classic_mceliece.rs +++ b/talpid-tunnel-config-client/src/classic_mceliece.rs @@ -32,7 +32,7 @@ static KEYPAIR_RX: OnceLock>> = OnceLock::new(); /// # Panic /// /// Panics if the buffer capacity is 0. -pub fn spawn_keypair_worker(bufsize: usize) -> mpsc::Receiver { +fn spawn_keypair_worker(bufsize: usize) -> mpsc::Receiver { let (tx, rx) = mpsc::channel(bufsize); // We fork off the key computation to a separate thread for two reasons: