diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-04-13 08:52:15 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-04-13 08:53:19 +0200 |
commit | 6516ced3f6bdbedb43a40023f3336097662bfc03 (patch) | |
tree | cdc8a856907bc442b9899fb86c193228c2a1875b /src/restclient/anastasis_api_policy_store.c | |
parent | b0cda372fb2412459e0462c18b4e9f70ca7992ab (diff) | |
download | anastasis-6516ced3f6bdbedb43a40023f3336097662bfc03.tar.gz anastasis-6516ced3f6bdbedb43a40023f3336097662bfc03.tar.bz2 anastasis-6516ced3f6bdbedb43a40023f3336097662bfc03.zip |
-rename fest for #7045
Diffstat (limited to 'src/restclient/anastasis_api_policy_store.c')
-rw-r--r-- | src/restclient/anastasis_api_policy_store.c | 5 |
1 files changed, 5 insertions, 0 deletions
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, |