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:
Marcello Stanisci 2016-09-20 14:30:38 +02:00
parent b3c4803c55
commit 64b7126234

View File

@ -354,9 +354,9 @@ get_anchor_iter (void *cls,
char *end = NULL;
base = GNUNET_STRINGS_get_short_name (filename);
stamp.abs_value_us = strtol (base,
&end,
10);
stamp.abs_value_us = strtoll (base,
&end,
10);
if ((NULL == end) || (0 != *end))
{
fprintf(stderr,