From f60b67a6fcbed7329f7d27511e8c572dc252934e Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Fri, 23 Jan 2026 18:45:34 +0100 Subject: lib: Speed up key rotation tests The tests were not correct as the library was compiled with the default 1 << 20 epoch. Added a parametere to the sk configuration that specifies the epoch size. Set to 1 << KEY_ROTATION_BIT in dev.c, but lowered to 7 in unit tests. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/lib/serdes-irm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/serdes-irm.c') diff --git a/src/lib/serdes-irm.c b/src/lib/serdes-irm.c index a0fdbec2..9e829632 100644 --- a/src/lib/serdes-irm.c +++ b/src/lib/serdes-irm.c @@ -134,9 +134,9 @@ int flow_join__irm_req_ser(buffer_t * buf, IRM_MSG_CODE__IRM_FLOW_JOIN); } -int flow__irm_result_des(buffer_t * buf, - struct flow_info * flow, - struct crypt_sk * sk) +int flow__irm_result_des(buffer_t * buf, + struct flow_info * flow, + struct crypt_sk * sk) { irm_msg_t * msg; int err; -- cgit v1.2.3