From f32383996723d5723ae38bb1f4c66afda6a9d415 Mon Sep 17 00:00:00 2001 From: Emil Engler Date: Thu, 28 Sep 2023 07:58:17 +0200 Subject: [PATCH] test: Fix wrong comment This commit fixes a wrong comment, claiming that the unit tests uses a stack size of 16MB, where in fact it only uses 8MiB. --- src/protocol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol.rs b/src/protocol.rs index 342764c1..092c8ea0 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -1740,7 +1740,7 @@ mod test { // initialize secret and public key for the crypto server let (mut sk, mut pk) = (SSk::zero(), SPk::zero()); - // Guranteed to have 16MB of stack size + // Guranteed to have 8MiB of stack size stacker::grow(8 * 1024 * 1024, || { StaticKEM::keygen(sk.secret_mut(), pk.secret_mut()).expect("unable to generate keys"); });