[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] 01/02: FIXME
From: |
gnunet |
Subject: |
[taler-anastasis] 01/02: FIXME |
Date: |
Thu, 30 Apr 2020 11:18:45 +0200 |
This is an automated email from the git hooks/post-receive script.
dennis-neufeld pushed a commit to branch master
in repository anastasis.
commit f2f380e66f60a07cf6602d110dea1dd0d36b07dc
Author: Dennis Neufeld <address@hidden>
AuthorDate: Wed Apr 29 22:00:54 2020 +0000
FIXME
---
src/lib/anastasis.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/lib/anastasis.c b/src/lib/anastasis.c
index df62d8c..1d98ceb 100644
--- a/src/lib/anastasis.c
+++ b/src/lib/anastasis.c
@@ -26,6 +26,7 @@
/**
+ * FIXME: Needed?
* State for a "salt" CMD.
*/
struct SaltState
@@ -53,6 +54,7 @@ struct SaltState
/**
+ * FIXME: Needed?
* Function called with the results of a #ANASTASIS_salt().
*
* @param cls closure
@@ -93,6 +95,7 @@ salt_cb (void *cls,
/**
+ * FIXME: Needed?
* Free the state of a "salt" CMD, and possibly
* cancel it if it did not complete.
*
@@ -765,7 +768,7 @@ ANASTASIS_truth_upload (struct GNUNET_CURL_Context *ctx,
tu = GNUNET_new (struct ANASTASIS_TruthUpload);
t = GNUNET_new (struct ANASTASIS_Truth);
- // ss = GNUNET_new (struct SaltState);
+ // ss = GNUNET_new (struct SaltState); FIXME: Needed?
tu->tc_cls = tc_cls;
tu->tpc_cls = tpc_cls;
tu->tpc = tpc;
@@ -778,6 +781,7 @@ ANASTASIS_truth_upload (struct GNUNET_CURL_Context *ctx,
uuid_generate (t->uuid);
/*
+ FIXME: Needed?
ss->http_status = MHD_HTTP_OK;
ss->so = ANASTASIS_salt (tu->ctx,
provider_url,
@@ -832,9 +836,9 @@ ANASTASIS_truth_upload (struct GNUNET_CURL_Context *ctx,
&encrypted_truth,
&encrypted_truth_size);
- truth = json_pack ("{s:o," /* encrypted KeyShare */
+ truth = json_pack ("{s:O," /* encrypted KeyShare */
" s:s," /* method */
- " s:o," /* nonce */
+ " s:O," /* nonce */
" s:s}", /* truth_mime */
"keyshare_data", GNUNET_JSON_from_data_auto (
encrypted_key_share),
@@ -855,7 +859,7 @@ ANASTASIS_truth_upload (struct GNUNET_CURL_Context *ctx,
tu->paid_order_id,
&truth_store_callback,
tu);
- // salt_cleanup (ss);
+ // salt_cleanup (ss); FIXME: Needed?
// SETUP TRUTH CALLBACK
tu->tc = tc;
tu->tc_cls = tc_cls;
--
To stop receiving notification emails like this one, please contact
address@hidden.