gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: allow always-available inputs al


From: gnunet
Subject: [taler-exchange] branch master updated: allow always-available inputs also for fallback measures
Date: Thu, 26 Dec 2024 16:29:40 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 6f35e6da1 allow always-available inputs also for fallback measures
6f35e6da1 is described below

commit 6f35e6da1a7f59e54c971ae08e2811c3604930c4
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Dec 26 16:29:32 2024 +0100

    allow always-available inputs also for fallback measures
---
 src/kyclogic/kyclogic_api.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c
index 725c3878b..06721311f 100644
--- a/src/kyclogic/kyclogic_api.c
+++ b/src/kyclogic/kyclogic_api.c
@@ -2940,7 +2940,7 @@ TALER_KYCLOGIC_kyc_init (
     }
     fprogram = find_program (m->prog_name);
     GNUNET_assert (NULL != fprogram);
-    if (API_NONE != fprogram->input_mask)
+    if (API_NONE != (fprogram->input_mask & (API_CONTEXT | API_ATTRIBUTES)))
     {
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                   "Fallback program %s of fallback measure `%s' used in AML 
program `%s' has required inputs, but fallback measures must not require any 
inputs\n",
@@ -2980,7 +2980,7 @@ TALER_KYCLOGIC_kyc_init (
     }
     fprogram = find_program (measure->prog_name);
     GNUNET_assert (NULL != fprogram);
-    if (API_NONE != fprogram->input_mask)
+    if (API_NONE != (fprogram->input_mask & (API_CONTEXT | API_ATTRIBUTES)))
     {
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                   "AML program `%s' used fallback measure `%s' of KYC check 
`%s' has required inputs, but fallback measures must not require any inputs\n",
@@ -4174,7 +4174,7 @@ handle_aml_timeout (void *cls)
   fprogram = find_program (m->prog_name);
   /* Program associated with an original measure must exist */
   GNUNET_assert (NULL != fprogram);
-  if (API_NONE != fprogram->input_mask)
+  if (API_NONE != (fprogram->input_mask & (API_CONTEXT | API_ATTRIBUTES)))
   {
     /* We might not have recognized the fallback measure as such
        because it was not used as such in the plain configuration,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]