tfc_conf: nr_turns: do not apply to sksum turns.
[tfcrypt.git] / tfc_conf.c
index 441d60cb90b7267d5bbce446763e6f0d50932058..c583b860fc8117160fd8071dc697c2af5cae5657 100644 (file)
@@ -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")) {