aboutsummaryrefslogtreecommitdiff
path: root/src/kyclogic
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-05-05 14:23:31 +0200
committerChristian Grothoff <christian@grothoff.org>2024-07-29 12:18:40 +0200
commiteadfb0bc33c99231d28e2a3ff226e68431c96063 (patch)
treeb57b6dbbd8c36f846638c3b5026376242ae9f545 /src/kyclogic
parent2cc18b1b5db9b2b6f59bf0aa51055affff8cb21d (diff)
fix taler-exchange-kyc-tester FTBFS
Diffstat (limited to 'src/kyclogic')
-rw-r--r--src/kyclogic/taler-exchange-kyc-tester.c23
1 files changed, 0 insertions, 23 deletions
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
@@ -283,11 +283,6 @@ static int global_ret;
static char *requirements;
/**
- * -i command-line flag.
- */
-static char *ut_s = "individual";
-
-/**
* Handle for ongoing initiation operation.
*/
static struct TALER_KYCLOGIC_InitiateHandle *ih;
@@ -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))
@@ -1598,12 +1581,6 @@ main (int argc,
"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",
"ID",