Skip to content

Commit

Permalink
Move uses to cfg-internal
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-garcia committed Oct 30, 2023
1 parent 432a9ee commit 0aa56f1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions crates/bitwarden/src/client/encryption_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ use rsa::RsaPrivateKey;
use uuid::Uuid;
#[cfg(feature = "internal")]
use {
crate::{client::UserLoginMethod, crypto::KeyDecryptable},
crate::{
client::UserLoginMethod,
crypto::{EncString, KeyDecryptable},
error::{CryptoError, Result},
},
rsa::{pkcs8::DecodePrivateKey, Oaep},
};

use crate::{
crypto::{EncString, SymmetricCryptoKey},
error::{CryptoError, Result},
};
use crate::crypto::SymmetricCryptoKey;

pub struct EncryptionSettings {
user_key: SymmetricCryptoKey,
Expand Down

0 comments on commit 0aa56f1

Please sign in to comment.