From da4c08eb339983c417f15949abf5af793e161ed9 Mon Sep 17 00:00:00 2001 From: Herman Date: Tue, 18 May 2021 14:15:23 +0200 Subject: [PATCH] test(dh): fix tenclave unit tests by ignoring the dh mod --- rtc_tenclave/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rtc_tenclave/src/lib.rs b/rtc_tenclave/src/lib.rs index 30c9bad9..6cd46cf1 100644 --- a/rtc_tenclave/src/lib.rs +++ b/rtc_tenclave/src/lib.rs @@ -21,8 +21,11 @@ cfg_if::cfg_if! { } } -pub mod crypto; +// TODO: Refactor dh module to allow us to test with it enabled +#[cfg(not(test))] pub mod dh; + +pub mod crypto; pub mod enclave; pub mod kv_store; pub mod util;