diff --git a/crates/bitwarden-core/src/auth/client_auth.rs b/crates/bitwarden-core/src/auth/client_auth.rs index 2e210bd87..1188cfd90 100644 --- a/crates/bitwarden-core/src/auth/client_auth.rs +++ b/crates/bitwarden-core/src/auth/client_auth.rs @@ -2,6 +2,7 @@ use bitwarden_crypto::CryptoError; #[cfg(feature = "internal")] use bitwarden_crypto::{AsymmetricEncString, DeviceKey, EncString, Kdf, TrustDeviceResponse}; +use super::key_connector::{make_key_connector_keys, KeyConnectorResponse}; #[cfg(feature = "internal")] use crate::auth::login::NewAuthRequestResponse; #[cfg(feature = "secrets")] @@ -24,8 +25,6 @@ use crate::auth::{ }; use crate::{auth::renew::renew_token, error::Result, Client}; -use super::key_connector::{make_key_connector_keys, KeyConnectorResponse}; - pub struct ClientAuth<'a> { pub(crate) client: &'a crate::Client, } diff --git a/crates/bitwarden-core/src/auth/key_connector.rs b/crates/bitwarden-core/src/auth/key_connector.rs index 0ff3da35c..b4006b472 100644 --- a/crates/bitwarden-core/src/auth/key_connector.rs +++ b/crates/bitwarden-core/src/auth/key_connector.rs @@ -23,10 +23,11 @@ pub(super) fn make_key_connector_keys( #[cfg(test)] mod tests { - use super::*; use rand::SeedableRng; use rand_chacha::ChaCha8Rng; + use super::*; + #[test] fn test_make_key_connector_keys() { let mut rng = ChaCha8Rng::from_seed([0u8; 32]);