aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-02-17 14:40:21 +0100
committerChristian Grothoff <christian@grothoff.org>2019-02-17 14:40:21 +0100
commit62e8c183902d7d7b7535c247f750aa8a37d6365a (patch)
tree3c2b6e1ae9f621eaa638debf555e5bbbc7786644 /src/exchangedb
parent9fb889404ad6f76dd92a7e249e5438148594fcaf (diff)
Need to check for revoked keys as well before adding from DB.
Fixes ~13838.
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/exchangedb_denomkeys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exchangedb/exchangedb_denomkeys.c b/src/exchangedb/exchangedb_denomkeys.c
index d23f8f2f0..400912168 100644
--- a/src/exchangedb/exchangedb_denomkeys.c
+++ b/src/exchangedb/exchangedb_denomkeys.c
@@ -268,6 +268,7 @@ denomkeys_iterate_keydir_iter (void *cls,
struct TALER_MasterDenominationKeyRevocation rm;
const struct TALER_MasterSignatureP *revoked;
+ /* FIXME: #5536: should move .rev files into DB! */
if ( (strlen(filename) > strlen (".rev")) &&
(0 == strcmp (&filename[strlen(filename) - strlen (".rev")],
".rev")) )