From da0d0365e4d5059b1b1b26403c904a10907c9ae4 Mon Sep 17 00:00:00 2001 From: Patrick Ecord Date: Sun, 21 Jun 2026 23:49:13 -0500 Subject: [PATCH] core: drop dead Crypto::enabled() left by the base64 fix The signed-out base64 fix (61f4fbe) made open_b64 unconditional, removing the only caller of Crypto::enabled(). Delete the now-dead method to keep the build warning-clean. Co-Authored-By: Claude Opus 4.8 --- core/src/crypto.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/src/crypto.rs b/core/src/crypto.rs index 6f14429..76d93cd 100644 --- a/core/src/crypto.rs +++ b/core/src/crypto.rs @@ -30,10 +30,6 @@ impl Crypto { } } - pub(crate) fn enabled(&self) -> bool { - self.cipher.is_some() - } - /// nonce(12) ‖ ciphertext. Passthrough when disabled. pub(crate) fn seal(&self, plaintext: &[u8]) -> Vec { match &self.cipher {