strtol -> strtoll, which made the anchor (see signkey generation algorithm)
always point to the 70s, so new signkeys were always generated
This commit is contained in:
parent
b3c4803c55
commit
64b7126234
@ -354,7 +354,7 @@ get_anchor_iter (void *cls,
|
|||||||
char *end = NULL;
|
char *end = NULL;
|
||||||
|
|
||||||
base = GNUNET_STRINGS_get_short_name (filename);
|
base = GNUNET_STRINGS_get_short_name (filename);
|
||||||
stamp.abs_value_us = strtol (base,
|
stamp.abs_value_us = strtoll (base,
|
||||||
&end,
|
&end,
|
||||||
10);
|
10);
|
||||||
if ((NULL == end) || (0 != *end))
|
if ((NULL == end) || (0 != *end))
|
||||||
|
Loading…
Reference in New Issue
Block a user