diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-02-14 13:41:46 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-02-14 13:41:46 +0100 |
commit | e56ed85f4f11f3daec80326f7d43635281b3806b (patch) | |
tree | 33d9b9523a6e1a38e4ee0264927f9e89892a4af8 /src/exchangedb/exchangedb_denomkeys.c | |
parent | 9ff3c2fce5835dff2100a80f27b7f620aaa50783 (diff) |
preparations for #5536
Diffstat (limited to 'src/exchangedb/exchangedb_denomkeys.c')
-rw-r--r-- | src/exchangedb/exchangedb_denomkeys.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exchangedb/exchangedb_denomkeys.c b/src/exchangedb/exchangedb_denomkeys.c index 5ff3b5c51..d23f8f2f0 100644 --- a/src/exchangedb/exchangedb_denomkeys.c +++ b/src/exchangedb/exchangedb_denomkeys.c @@ -151,6 +151,12 @@ TALER_EXCHANGEDB_denomination_key_read (const char *filename, data, offset); GNUNET_free (data); + if (0 == GNUNET_TIME_absolute_get_remaining + (GNUNET_TIME_absolute_ntoh (dki->issue.properties.expire_withdraw)).rel_value_us) + { + /* FIXME: #5536: we should delete this file, the + private key is no longer needed (and return SYSERR!) */ + } return GNUNET_OK; } |