summaryrefslogtreecommitdiff
path: root/src/restclient
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-04-13 08:52:15 +0200
committerChristian Grothoff <christian@grothoff.org>2022-04-13 08:53:19 +0200
commit6516ced3f6bdbedb43a40023f3336097662bfc03 (patch)
treecdc8a856907bc442b9899fb86c193228c2a1875b /src/restclient
parentb0cda372fb2412459e0462c18b4e9f70ca7992ab (diff)
downloadanastasis-6516ced3f6bdbedb43a40023f3336097662bfc03.tar.gz
anastasis-6516ced3f6bdbedb43a40023f3336097662bfc03.tar.bz2
anastasis-6516ced3f6bdbedb43a40023f3336097662bfc03.zip
-rename fest for #7045
Diffstat (limited to 'src/restclient')
-rw-r--r--src/restclient/anastasis_api_config.c4
-rw-r--r--src/restclient/anastasis_api_policy_store.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/src/restclient/anastasis_api_config.c b/src/restclient/anastasis_api_config.c
index 9cf25c9..08b6952 100644
--- a/src/restclient/anastasis_api_config.c
+++ b/src/restclient/anastasis_api_config.c
@@ -120,8 +120,8 @@ handle_config_finished (void *cls,
&acfg.truth_upload_fee),
TALER_JSON_spec_amount_any ("liability_limit",
&acfg.liability_limit),
- GNUNET_JSON_spec_fixed_auto ("server_salt",
- &acfg.salt),
+ GNUNET_JSON_spec_fixed_auto ("provider_salt",
+ &acfg.provider_salt),
GNUNET_JSON_spec_end ()
};
diff --git a/src/restclient/anastasis_api_policy_store.c b/src/restclient/anastasis_api_policy_store.c
index 7a8925f..5cfcfcb 100644
--- a/src/restclient/anastasis_api_policy_store.c
+++ b/src/restclient/anastasis_api_policy_store.c
@@ -374,6 +374,11 @@ ANASTASIS_policy_store (
.purpose.size = htonl (sizeof (usp))
};
+ if (NULL == recovery_meta_data)
+ {
+ GNUNET_break (0);
+ return NULL;
+ }
tms = (unsigned long long) (payment_timeout.rel_value_us
/ GNUNET_TIME_UNIT_MILLISECONDS.rel_value_us);
GNUNET_CRYPTO_hash (recovery_data,