aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-04 17:13:48 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-04 17:13:53 +0200
commit6d099b44fbf31f6070d73ee1b136271428a559aa (patch)
treea0e7ce1b47879ee1dc8a92d81d7ebf2facfca6b0
parent08eff3dfa73b5a89bd3d3582f55b1f9cf1fff2d0 (diff)
fix #6976
-rw-r--r--src/util/taler-exchange-secmod-rsa.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c
index edb3aac21..717c37549 100644
--- a/src/util/taler-exchange-secmod-rsa.c
+++ b/src/util/taler-exchange-secmod-rsa.c
@@ -1682,9 +1682,12 @@ load_denominations (void *cls,
struct LoadContext *ctx = cls;
struct Denomination *denom;
- if (0 != strncasecmp (denomination_alias,
- "coin_",
- strlen ("coin_")))
+ if ( (0 != strncasecmp (denomination_alias,
+ "coin_",
+ strlen ("coin_"))) &&
+ (0 != strncasecmp (denomination_alias,
+ "coin-",
+ strlen ("coin-"))) )
return; /* not a denomination type definition */
denom = GNUNET_new (struct Denomination);
if (GNUNET_OK !=