summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r--src/lib/dev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index 31f4fb78..106a4256 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -549,6 +549,8 @@ static int flow_init(struct flow_info * info,
flow->tailsz = 0;
if (IS_ENCRYPTED(sk)) {
+ /* Set to lower value in tests, should we make configurable? */
+ sk->rot_bit = KEY_ROTATION_BIT;
flow->crypt = crypt_create_ctx(sk);
if (flow->crypt == NULL)
goto fail_crypt;