From eadfb0bc33c99231d28e2a3ff226e68431c96063 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 May 2024 14:23:31 +0200 Subject: fix taler-exchange-kyc-tester FTBFS --- src/kyclogic/taler-exchange-kyc-tester.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/kyclogic') diff --git a/src/kyclogic/taler-exchange-kyc-tester.c b/src/kyclogic/taler-exchange-kyc-tester.c index c2efafd72..e942ff7a8 100644 --- a/src/kyclogic/taler-exchange-kyc-tester.c +++ b/src/kyclogic/taler-exchange-kyc-tester.c @@ -282,11 +282,6 @@ static int global_ret; */ static char *requirements; -/** - * -i command-line flag. - */ -static char *ut_s = "individual"; - /** * Handle for ongoing initiation operation. */ @@ -1474,21 +1469,9 @@ run (void *cls, if (NULL != requirements) { struct TALER_KYCLOGIC_ProviderDetails *pd; - enum TALER_KYCLOGIC_KycUserType ut; - if (GNUNET_OK != - TALER_KYCLOGIC_kyc_user_type_from_string (ut_s, - &ut)) - { - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Invalid user type specified ('-i')\n"); - global_ret = EXIT_INVALIDARGUMENT; - GNUNET_SCHEDULER_shutdown (); - return; - } if (GNUNET_OK != TALER_KYCLOGIC_requirements_to_logic (requirements, - ut, &ih_logic, &pd, &provider_section_name)) @@ -1597,12 +1580,6 @@ main (int argc, "CHECKS", "initiate KYC check for the given list of (space-separated) checks", &requirements), - GNUNET_GETOPT_option_string ( - 'i', - "identify", - "USERTYPE", - "self-identify as USERTYPE 'business' or 'individual' (defaults to 'individual')", - &requirements), GNUNET_GETOPT_option_string ( 'u', "user", -- cgit v1.2.3