diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/anastasis-httpd_truth_upload.c | 8 | ||||
-rw-r--r-- | 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), |