From 06230d15e165dc53511d6d6f2aec7053788b06ff Mon Sep 17 00:00:00 2001 From: Egor Duda Date: Tue, 17 May 2022 17:15:47 +0300 Subject: [PATCH] Fix compile warning --- src/ctap/data_formats.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ctap/data_formats.rs b/src/ctap/data_formats.rs index 30b73d9..093b31c 100644 --- a/src/ctap/data_formats.rs +++ b/src/ctap/data_formats.rs @@ -28,6 +28,7 @@ use sk_cbor::{cbor_array_vec, cbor_map, cbor_map_options, destructure_cbor_map}; // Used as the identifier for ECDSA in assertion signatures and COSE. pub const ES256_ALGORITHM: i64 = -7; +#[cfg(feature = "ed25519")] pub const EDDSA_ALGORITHM: i64 = -8; // https://www.w3.org/TR/webauthn/#dictdef-publickeycredentialrpentity