From 31a9bbddd10dfaeb2be4373547ec28eb4b8bbdff Mon Sep 17 00:00:00 2001 From: SimonThormeyer Date: Fri, 27 Sep 2024 18:31:58 +0200 Subject: [PATCH] fix more errors --- crypto/src/e2e_identity/rotate.rs | 3 ++- keystore/src/entities/platform/wasm/mls/e2ei_acme_ca.rs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/crypto/src/e2e_identity/rotate.rs b/crypto/src/e2e_identity/rotate.rs index cc903a39ff..e03259e600 100644 --- a/crypto/src/e2e_identity/rotate.rs +++ b/crypto/src/e2e_identity/rotate.rs @@ -8,7 +8,8 @@ use core_crypto_keystore::{entities::MlsKeyPackage, CryptoKeystoreMls}; use mls_crypto_provider::TransactionalCryptoProvider; use crate::e2e_identity::init_certificates::NewCrlDistributionPoint; -use crate::e2e_identity::refresh_token::RefreshToken; +#[cfg(not(target_family = "wasm"))] +use crate::e2e_identity::RefreshToken; use crate::mls::context::CentralContext; use crate::{ mls::credential::{ext::CredentialExt, x509::CertificatePrivateKey, CredentialBundle}, diff --git a/keystore/src/entities/platform/wasm/mls/e2ei_acme_ca.rs b/keystore/src/entities/platform/wasm/mls/e2ei_acme_ca.rs index 7cd8e4b7f9..1d24064347 100644 --- a/keystore/src/entities/platform/wasm/mls/e2ei_acme_ca.rs +++ b/keystore/src/entities/platform/wasm/mls/e2ei_acme_ca.rs @@ -19,6 +19,7 @@ use crate::{ entities::{E2eiAcmeCA, Entity, EntityBase, EntityFindParams, EntityMlsExt, StringEntityId, UniqueEntity}, CryptoKeystoreError, CryptoKeystoreResult, MissingKeyErrorKind, }; +use crate::connection::DatabaseConnection; #[cfg_attr(target_family = "wasm", async_trait::async_trait(?Send))] #[cfg_attr(not(target_family = "wasm"), async_trait::async_trait)]