From 0ef0bb23f42d787ef50fc48ae82689bd1b0e1e36 Mon Sep 17 00:00:00 2001 From: Egor Duda Date: Mon, 16 May 2022 18:15:03 +0300 Subject: [PATCH] Remove unneeded code (covered by default branch) --- src/ctap/crypto_wrapper.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ctap/crypto_wrapper.rs b/src/ctap/crypto_wrapper.rs index 40c750c..8abe29f 100644 --- a/src/ctap/crypto_wrapper.rs +++ b/src/ctap/crypto_wrapper.rs @@ -355,8 +355,6 @@ pub fn decrypt_credential_source( ES256_ALGORITHM => PrivateKey::new_ecdsa_from_bytes(&decrypted_id[..32]), #[cfg(feature = "ed25519")] EDDSA_ALGORITHM => PrivateKey::new_ed25519_from_bytes(&decrypted_id[..32]), - #[cfg(not(feature = "ed25519"))] - EDDSA_ALGORITHM => return Ok(None), _ => return Ok(None), };