From d08c3d252be8bd921126865b91e828e57442cd90 Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Tue, 24 Oct 2017 10:19:26 -0700 Subject: [PATCH] fix std/alloc dep for multiscalar_mult for RistrettoPoints --- src/ristretto.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ristretto.rs b/src/ristretto.rs index 38470c8..7a09256 100644 --- a/src/ristretto.rs +++ b/src/ristretto.rs @@ -1011,6 +1011,7 @@ pub mod vartime { /// /// A vector of `Scalar`s and a vector of `RistrettoPoints`. It is an /// error to call this function with two vectors of different lengths. + #[cfg(any(feature = "alloc", feature = "std"))] pub fn multiscalar_mult<'a, 'b, I, J>(scalars: I, points: J) -> RistrettoPoint where I: IntoIterator, J: IntoIterator