aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-tools/taler-exchange-keyup.c
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-09-20 14:30:38 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-09-20 14:30:38 +0200
commit64b7126234ed5765a63867e38d120f35630717dd (patch)
treed6a3aec3a9920430a3302f4269567189ca5afce0 /src/exchange-tools/taler-exchange-keyup.c
parentb3c4803c55c7ba39827e6d3a87c34ee79bbae120 (diff)
strtol -> strtoll, which made the anchor (see signkey generation algorithm)
always point to the 70s, so new signkeys were always generated
Diffstat (limited to 'src/exchange-tools/taler-exchange-keyup.c')
-rw-r--r--src/exchange-tools/taler-exchange-keyup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c
index d039c427f..9e2500d2a 100644
--- a/src/exchange-tools/taler-exchange-keyup.c
+++ b/src/exchange-tools/taler-exchange-keyup.c
@@ -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,