aboutsummaryrefslogtreecommitdiff
path: root/src/mint-tools/taler-mint-keyup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mint-tools/taler-mint-keyup.c')
-rw-r--r--src/mint-tools/taler-mint-keyup.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mint-tools/taler-mint-keyup.c b/src/mint-tools/taler-mint-keyup.c
index 70c664433..5eff6f58a 100644
--- a/src/mint-tools/taler-mint-keyup.c
+++ b/src/mint-tools/taler-mint-keyup.c
@@ -502,12 +502,13 @@ mint_keys_update_signkeys ()
"legal_duration",
&legal_duration))
{
- GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
+ GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_ERROR,
"mint_keys",
- "legal_duration");
+ "legal_duration",
+ "fails to specify valid timeframe");
return GNUNET_SYSERR;
}
- if (signkey_duration.rel_value_us < legal_duration.rel_value_us)
+ if (signkey_duration.rel_value_us > legal_duration.rel_value_us)
{
GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_ERROR,
"mint_keys",