From a6fb2184d98379abc1a56b221546f587acfa9603 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 5869f80c..17a17e89 100644 --- a/rtc_tenclave/src/lib.rs +++ b/rtc_tenclave/src/lib.rs @@ -19,7 +19,10 @@ 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 util;