gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: spell key_share_data like in do


From: gnunet
Subject: [taler-anastasis] branch master updated: spell key_share_data like in docs
Date: Mon, 18 Oct 2021 18:27:47 +0200

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

dold pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new d25d97c  spell key_share_data like in docs
d25d97c is described below

commit d25d97c15002767cf3374eff38ec6cff92e15a1b
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Oct 18 18:27:44 2021 +0200

    spell key_share_data like in docs
---
 src/backend/anastasis-httpd_truth_upload.c | 8 ++++----
 src/restclient/anastasis_api_truth_store.c | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/backend/anastasis-httpd_truth_upload.c 
b/src/backend/anastasis-httpd_truth_upload.c
index d9e63c3..8eb410c 100644
--- a/src/backend/anastasis-httpd_truth_upload.c
+++ b/src/backend/anastasis-httpd_truth_upload.c
@@ -519,7 +519,7 @@ AH_handler_truth_post (
   struct TruthUploadContext *tuc = hc->ctx;
   MHD_RESULT ret;
   int res;
-  struct ANASTASIS_CRYPTO_EncryptedKeyShareP keyshare_data;
+  struct ANASTASIS_CRYPTO_EncryptedKeyShareP key_share_data;
   void *encrypted_truth;
   size_t encrypted_truth_size;
   const char *truth_mime = NULL;
@@ -528,8 +528,8 @@ AH_handler_truth_post (
   uint32_t storage_years;
   struct GNUNET_TIME_Absolute paid_until;
   struct GNUNET_JSON_Specification spec[] = {
-    GNUNET_JSON_spec_fixed_auto ("keyshare_data",
-                                 &keyshare_data),
+    GNUNET_JSON_spec_fixed_auto ("key_share_data",
+                                 &key_share_data),
     GNUNET_JSON_spec_string ("type",
                              &type),
     GNUNET_JSON_spec_varsize ("encrypted_truth",
@@ -776,7 +776,7 @@ AH_handler_truth_post (
               GNUNET_STRINGS_absolute_time_to_string (paid_until));
   qs = db->store_truth (db->cls,
                         truth_uuid,
-                        &keyshare_data,
+                        &key_share_data,
                         (NULL == truth_mime)
                         ? ""
                         : truth_mime,
diff --git a/src/restclient/anastasis_api_truth_store.c 
b/src/restclient/anastasis_api_truth_store.c
index 74b9238..18a3682 100644
--- a/src/restclient/anastasis_api_truth_store.c
+++ b/src/restclient/anastasis_api_truth_store.c
@@ -296,7 +296,7 @@ ANASTASIS_truth_store (
     json_t *truth_data;
 
     truth_data = GNUNET_JSON_PACK (
-      GNUNET_JSON_pack_data_auto ("keyshare_data",
+      GNUNET_JSON_pack_data_auto ("key_share_data",
                                   encrypted_keyshare),
       GNUNET_JSON_pack_string ("type",
                                type),

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