gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated (bfcfcab -> cfc7801)


From: gnunet
Subject: [taler-anastasis] branch master updated (bfcfcab -> cfc7801)
Date: Thu, 14 Apr 2022 09:52:46 +0200

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

dold pushed a change to branch master
in repository anastasis.

    from bfcfcab  -need the array, not one element
     new 405abf0  remove redundant http_status fields from challenge feedback
     new cfc7801  tests: select concrete version

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ...t_anastasis_reducer_recovery_enter_user_attributes.sh |  2 +-
 src/cli/test_iban.sh                                     |  2 +-
 src/reducer/anastasis_api_recovery_redux.c               | 16 ++++------------
 3 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh 
b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
index f67fa89..3a62704 100755
--- a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
+++ b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
@@ -428,7 +428,7 @@ anastasis-reducer -a '{"provider_url" : 
"http://localhost:8086/"; }' add_provider
 echo " OK"
 
 echo -n "Selecting secret to recover"
-anastasis-reducer -a '{"attribute_mask": 0, "providers" : [ { "version": 0, 
"url" : "http://localhost:8086/"; } ] }' select_version < $R1FILE > $R2FILE
+anastasis-reducer -a '{"attribute_mask": 0, "providers" : [ { "version": 1, 
"url" : "http://localhost:8086/"; } ] }' select_version < $R1FILE > $R2FILE
 
 STATE=`jq -r -e .recovery_state < $R2FILE`
 if test "$STATE" != "CHALLENGE_SELECTING"
diff --git a/src/cli/test_iban.sh b/src/cli/test_iban.sh
index fcf932f..523e047 100755
--- a/src/cli/test_iban.sh
+++ b/src/cli/test_iban.sh
@@ -390,7 +390,7 @@ anastasis-reducer -a '{"provider_url" : 
"http://localhost:8086/"; }' add_provider
 echo " OK"
 
 echo -n "Selecting secret to recover"
-anastasis-reducer  -a '{"attribute_mask": 0, "providers" : [ { "version": 0, 
"url" : "http://localhost:8086/"; } ] }' \
+anastasis-reducer  -a '{"attribute_mask": 0, "providers" : [ { "version": 1, 
"url" : "http://localhost:8086/"; } ] }' \
   select_version < $R1FILE > $R2FILE 2>> test_reducer.err
 
 STATE=`jq -r -e .recovery_state < $R2FILE`
diff --git a/src/reducer/anastasis_api_recovery_redux.c 
b/src/reducer/anastasis_api_recovery_redux.c
index b438afe..b0c15ec 100644
--- a/src/reducer/anastasis_api_recovery_redux.c
+++ b/src/reducer/anastasis_api_recovery_redux.c
@@ -553,9 +553,7 @@ start_feedback_cb (
         GNUNET_JSON_pack_string ("filename",
                                  csr->details.tan_filename),
         GNUNET_JSON_pack_string ("display_hint",
-                                 hint),
-        GNUNET_JSON_pack_uint64 ("http_status",
-                                 (json_int_t) csr->http_status));
+                                 hint));
       GNUNET_free (hint);
       GNUNET_assert (0 ==
                      json_object_set_new (feedback,
@@ -583,9 +581,7 @@ start_feedback_cb (
         GNUNET_JSON_pack_string ("address_hint",
                                  csr->details.tan_address_hint),
         GNUNET_JSON_pack_string ("display_hint",
-                                 hint),
-        GNUNET_JSON_pack_uint64 ("http_status",
-                                 (json_int_t) csr->http_status));
+                                 hint));
       GNUNET_free (hint);
       GNUNET_assert (0 ==
                      json_object_set_new (feedback,
@@ -611,9 +607,7 @@ start_feedback_cb (
         GNUNET_JSON_pack_string ("state",
                                  "send-to-address"),
         GNUNET_JSON_pack_string ("display_hint",
-                                 hint),
-        GNUNET_JSON_pack_uint64 ("http_status",
-                                 (json_int_t) csr->http_status));
+                                 hint));
       GNUNET_free (hint);
       GNUNET_assert (0 ==
                      json_object_set_new (feedback,
@@ -885,9 +879,7 @@ answer_feedback_cb (
         GNUNET_JSON_pack_string ("state",
                                  "incorrect-answer"),
         GNUNET_JSON_pack_uint64 ("error_code",
-                                 csr->ec),
-        GNUNET_JSON_pack_uint64 ("http_status",
-                                 csr->http_status));
+                                 csr->ec));
       GNUNET_assert (0 ==
                      json_object_set_new (feedback,
                                           uuid,

-- 
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]