[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: add FIXME, fix indent
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: add FIXME, fix indent |
Date: |
Fri, 19 Mar 2021 13:23:47 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new 8a6db94 add FIXME, fix indent
8a6db94 is described below
commit 8a6db94a14367c31b413aa4d841e8576bb4a3cf8
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Fri Mar 19 13:23:39 2021 +0100
add FIXME, fix indent
---
src/lib/anastasis_backup.c | 67 +++++++++++++++++++++++-----------------------
1 file changed, 34 insertions(+), 33 deletions(-)
diff --git a/src/lib/anastasis_backup.c b/src/lib/anastasis_backup.c
index ce213b6..bfd0b26 100644
--- a/src/lib/anastasis_backup.c
+++ b/src/lib/anastasis_backup.c
@@ -285,6 +285,7 @@ ANASTASIS_truth_upload3 (struct GNUNET_CURL_Context *ctx,
answer = GNUNET_strndup (truth_data,
truth_data_size);
+ // FIXME: deduplicate this call with anastasis_recovery.c!
GNUNET_assert (GNUNET_YES ==
GNUNET_CRYPTO_kdf (
&nt,
@@ -334,25 +335,25 @@ ANASTASIS_truth_upload3 (struct GNUNET_CURL_Context *ctx,
struct ANASTASIS_TruthUpload *
-ANASTASIS_truth_upload2 (struct GNUNET_CURL_Context *ctx,
- const struct ANASTASIS_CRYPTO_UserIdentifierP
*user_id,
- const char *provider_url,
- const char *type,
- const char *instructions,
- const char *mime_type,
- const struct
- ANASTASIS_CRYPTO_ProviderSaltP *provider_salt,
- const void *truth_data,
- size_t truth_data_size,
- bool payment_requested,
- struct GNUNET_TIME_Relative pay_timeout,
- const struct ANASTASIS_CRYPTO_NonceP *nonce,
- const struct ANASTASIS_CRYPTO_TruthUUIDP *uuid,
- const struct ANASTASIS_CRYPTO_QuestionSaltP *salt,
- const struct ANASTASIS_CRYPTO_TruthKeyP *truth_key,
- const struct ANASTASIS_CRYPTO_KeyShareP *key_share,
- ANASTASIS_TruthCallback tc,
- void *tc_cls)
+ANASTASIS_truth_upload2 (
+ struct GNUNET_CURL_Context *ctx,
+ const struct ANASTASIS_CRYPTO_UserIdentifierP *user_id,
+ const char *provider_url,
+ const char *type,
+ const char *instructions,
+ const char *mime_type,
+ const struct ANASTASIS_CRYPTO_ProviderSaltP *provider_salt,
+ const void *truth_data,
+ size_t truth_data_size,
+ bool payment_requested,
+ struct GNUNET_TIME_Relative pay_timeout,
+ const struct ANASTASIS_CRYPTO_NonceP *nonce,
+ const struct ANASTASIS_CRYPTO_TruthUUIDP *uuid,
+ const struct ANASTASIS_CRYPTO_QuestionSaltP *salt,
+ const struct ANASTASIS_CRYPTO_TruthKeyP *truth_key,
+ const struct ANASTASIS_CRYPTO_KeyShareP *key_share,
+ ANASTASIS_TruthCallback tc,
+ void *tc_cls)
{
struct ANASTASIS_Truth *t;
@@ -384,20 +385,20 @@ ANASTASIS_truth_upload2 (struct GNUNET_CURL_Context *ctx,
struct ANASTASIS_TruthUpload *
-ANASTASIS_truth_upload (struct GNUNET_CURL_Context *ctx,
- const struct ANASTASIS_CRYPTO_UserIdentifierP *user_id,
- const char *provider_url,
- const char *type,
- const char *instructions,
- const char *mime_type,
- const struct
- ANASTASIS_CRYPTO_ProviderSaltP *provider_salt,
- const void *truth_data,
- size_t truth_data_size,
- bool payment_requested,
- struct GNUNET_TIME_Relative pay_timeout,
- ANASTASIS_TruthCallback tc,
- void *tc_cls)
+ANASTASIS_truth_upload (
+ struct GNUNET_CURL_Context *ctx,
+ const struct ANASTASIS_CRYPTO_UserIdentifierP *user_id,
+ const char *provider_url,
+ const char *type,
+ const char *instructions,
+ const char *mime_type,
+ const struct ANASTASIS_CRYPTO_ProviderSaltP *provider_salt,
+ const void *truth_data,
+ size_t truth_data_size,
+ bool payment_requested,
+ struct GNUNET_TIME_Relative pay_timeout,
+ ANASTASIS_TruthCallback tc,
+ void *tc_cls)
{
struct ANASTASIS_CRYPTO_QuestionSaltP question_salt;
struct ANASTASIS_CRYPTO_TruthUUIDP uuid;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis] branch master updated: add FIXME, fix indent,
gnunet <=