exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 5e05cef507aa77e9ace4127d8d730de169bbbaeb
parent ff0ba9370ed5d4d0b7fa5491f273e0ab52c342e4
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 14 May 2024 10:24:17 +0200

fix FTBFS

Diffstat:
Msrc/include/taler_exchange_service.h | 4++--
Msrc/kyclogic/kyclogic_api.c | 11++---------
2 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h @@ -6090,9 +6090,9 @@ TALER_EXCHANGE_lookup_aml_decisions_cancel ( struct TALER_EXCHANGE_KycAttributeDetail { /** - * Configuration section name of the KYC provider that contributed the data. + * Name of the KYC provider that contributed the data. */ - const char *provider_section; + const char *provider_name; /** * The collected KYC data. diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c @@ -45,11 +45,6 @@ struct TALER_KYCLOGIC_KycProvider char *provider_name; /** - * Name of the configuration section of the provider. - */ - char *provider_section_name; - - /** * Name of a program to run to convert output of the * plugin into the desired set of attributes. */ @@ -786,7 +781,6 @@ add_provider (const struct GNUNET_CONFIGURATION_Handle *cfg, kp->cost = cost; kp->provider_name = GNUNET_strdup (&section[strlen ("kyc-provider-")]); - kp->provider_section_name = GNUNET_strdup (section); kp->converter_name = converter; kp->logic = lp; kp->pd = pd; @@ -1462,7 +1456,6 @@ TALER_KYCLOGIC_kyc_done (void) kp->logic->unload_configuration (kp->pd); GNUNET_free (kp->provider_name); - GNUNET_free (kp->provider_section_name); GNUNET_free (kp->converter_name); GNUNET_free (kp); } @@ -1713,7 +1706,7 @@ TALER_KYCLOGIC_lookup_logic ( continue; *plugin = kp->logic; *pd = kp->pd; - *provider_section = kp->provider_name; + *provider_name = kp->provider_name; return GNUNET_OK; } for (unsigned int i = 0; i<num_kyc_logics; i++) @@ -1726,7 +1719,7 @@ TALER_KYCLOGIC_lookup_logic ( continue; *plugin = logic; *pd = NULL; - *provider_section = NULL; + *provider_name = NULL; return GNUNET_OK; } GNUNET_log (GNUNET_ERROR_TYPE_ERROR,