aboutsummaryrefslogtreecommitdiff
path: root/spake2/src/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'spake2/src/tests.rs')
-rw-r--r--spake2/src/tests.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/spake2/src/tests.rs b/spake2/src/tests.rs
index 4599953..d063b86 100644
--- a/spake2/src/tests.rs
+++ b/spake2/src/tests.rs
@@ -2,6 +2,9 @@
//! spake2.test.test_compat.SPAKE2.test_asymmetric . The python test passes a
//! deterministic RNG (used only for tests, of course) into the per-Group
//! "random_scalar()" function, which results in some particular scalar.
+
+#![cfg(feature = "std")]
+
use super::*;
use curve25519_dalek::constants::ED25519_BASEPOINT_POINT;