projects
/
tfcrypt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2e7d8a
)
tfc_conf: nr_turns: do not apply to sksum turns.
author
Andrey Rys
<rys@lynxlynx.ru>
Sat, 23 Mar 2019 11:49:05 +0000
(18:49 +0700)
committer
Andrey Rys
<rys@lynxlynx.ru>
Sat, 23 Mar 2019 11:49:05 +0000
(18:49 +0700)
VERSION
patch
|
blob
|
history
tfc_conf.c
patch
|
blob
|
history
diff --git
a/VERSION
b/VERSION
index aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a 100644
(file)
--- a/
VERSION
+++ b/
VERSION
@@
-1
+1
@@
-2
1
+2
2
diff --git
a/tfc_conf.c
b/tfc_conf.c
index 441d60cb90b7267d5bbce446763e6f0d50932058..c583b860fc8117160fd8071dc697c2af5cae5657 100644
(file)
--- 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 = s
ksum_turns = s
trtoul(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")) {