From e4d32626234920b1e63d026d9c65e0bd7abed3e8 Mon Sep 17 00:00:00 2001 From: Egor Duda Date: Wed, 18 May 2022 20:50:56 +0300 Subject: [PATCH] Reserve version IDs to avoid accidental reuse with other options --- src/ctap/crypto_wrapper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ctap/crypto_wrapper.rs b/src/ctap/crypto_wrapper.rs index a550101..f661f77 100644 --- a/src/ctap/crypto_wrapper.rs +++ b/src/ctap/crypto_wrapper.rs @@ -45,7 +45,7 @@ pub const ECDSA_CREDENTIAL_ID_SIZE: usize = 113; pub const MAX_CREDENTIAL_ID_SIZE: usize = 113; const ECDSA_CREDENTIAL_ID_VERSION: u8 = 0x01; -#[cfg(feature = "ed25519")] +#[allow(dead_code)] const ED25519_CREDENTIAL_ID_VERSION: u8 = 0x02; #[cfg(test)] const UNSUPPORTED_CREDENTIAL_ID_VERSION: u8 = 0x80;