Skip to content

Commit 616786e

Browse files
committed
Add cfg(test) to function
1 parent a2e243e commit 616786e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/bitwarden-crypto/src/store/context.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ impl<Ids: KeyIds> KeyStoreContext<'_, Ids> {
309309
}
310310

311311
/// Generate a new random xchacha20-poly1305 symmetric key and store it in the context
312+
#[cfg(test)]
312313
pub(crate) fn make_cose_symmetric_key(
313314
&mut self,
314315
key_id: Ids::Symmetric,

0 commit comments

Comments
 (0)