summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 edb3aac2..717c3754 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 !=