diff options
author | Florian Dold <florian@dold.me> | 2024-11-07 16:34:54 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-11-07 16:34:54 +0100 |
commit | abf00bc7245699bbb944a73a6fd0790e5fbbf84a (patch) | |
tree | a825bb1a9e1802feb4d42183bc3f26ce194eeeb0 | |
parent | 97da8794ac1d1f2e8821daa9277322037faeab52 (diff) |
only measures can be 'verboten', but not a check
-rw-r--r-- | src/kyclogic/kyclogic_api.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c index af59978dd..06797bc7a 100644 --- a/src/kyclogic/kyclogic_api.c +++ b/src/kyclogic/kyclogic_api.c @@ -1075,7 +1075,7 @@ TALER_KYCLOGIC_zero_measures ( json_decref (zero_measures); return NULL; } - if (0 == strcasecmp (KYC_MEASURE_IMPOSSIBLE + if (0 == strcasecmp (KYC_MEASURE_IMPOSSIBLE, ms->check_name)) continue; /* not a measure to be selected */ mi = GNUNET_JSON_PACK ( @@ -1279,12 +1279,6 @@ TALER_KYCLOGIC_get_measures ( json_decref (jmeasures); return NULL; } - if (0 == strcasecmp ("verboten", - ms->check_name)) - { - verboten = true; - continue; - } mi = GNUNET_JSON_PACK ( GNUNET_JSON_pack_string ("check_name", ms->check_name), |