From abf00bc7245699bbb944a73a6fd0790e5fbbf84a Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 7 Nov 2024 16:34:54 +0100 Subject: only measures can be 'verboten', but not a check --- src/kyclogic/kyclogic_api.c | 8 +------- 1 file changed, 1 insertion(+), 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), -- cgit v1.2.3