From 49cd9a2a713faf3359b3f4b821258d8742b16cf5 Mon Sep 17 00:00:00 2001 From: Hinton Date: Fri, 12 Apr 2024 16:53:18 +0200 Subject: [PATCH] Makr default_kdf as internal --- crates/bitwarden/src/util.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/bitwarden/src/util.rs b/crates/bitwarden/src/util.rs index 7b6640fd5..f12caaf06 100644 --- a/crates/bitwarden/src/util.rs +++ b/crates/bitwarden/src/util.rs @@ -4,8 +4,10 @@ use base64::{ alphabet, engine::{DecodePaddingMode, GeneralPurpose, GeneralPurposeConfig}, }; +#[cfg(feature = "internal")] use bitwarden_crypto::Kdf; +#[cfg(feature = "internal")] pub fn default_kdf() -> Kdf { Kdf::PBKDF2 { iterations: default_pbkdf2_iterations(),