From 5cba648b4d8b2aeb7af05770f6036b0bcefc4a28 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 20 Dec 2024 13:35:33 +0100 Subject: [PATCH] Add missing variants to IMPLEMENTED_MECHANISMS --- src/types.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types.rs b/src/types.rs index 5af673bca84..6a45f39a012 100644 --- a/src/types.rs +++ b/src/types.rs @@ -82,6 +82,10 @@ pub const IMPLEMENTED_MECHANISMS: &[Mechanism] = &[ Mechanism::P521Prehashed, #[cfg(feature = "sha256")] Mechanism::Sha256, + #[cfg(feature = "shared-secret")] + Mechanism::SharedSecret, + #[cfg(feature = "tdes")] + Mechanism::Tdes, #[cfg(feature = "totp")] Mechanism::Totp, #[cfg(feature = "x255")]