From: Andrey Rys Date: Sat, 23 Mar 2019 11:49:05 +0000 (+0700) Subject: tfc_conf: nr_turns: do not apply to sksum turns. X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=133fa38f39501ef4c2d9ad442b50eb79caf79f59;p=tfcrypt.git tfc_conf: nr_turns: do not apply to sksum turns. --- diff --git a/VERSION b/VERSION index aabe6ec..2bd5a0a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -21 +22 diff --git a/tfc_conf.c b/tfc_conf.c index 441d60c..c583b86 100644 --- a/tfc_conf.c +++ b/tfc_conf.c @@ -66,7 +66,7 @@ _spc2: t = strchr(d, ' '); *t = 0; d = t+1; goto _spc2; _nspc: if (!strcmp(s, "nr_turns")) { - nr_turns = sksum_turns = strtoul(d, &stoi, 10); + nr_turns = strtoul(d, &stoi, 10); if (!str_empty(stoi)) xerror(NO, YES, YES, "[%s] nr_turns=%s: invalid number of turns", path, d); } else if (!strcmp(s, "ctr_mode")) {