diff options
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 ( | |||
374 | .purpose.size = htonl (sizeof (usp)) | 374 | .purpose.size = htonl (sizeof (usp)) |
375 | }; | 375 | }; |
376 | 376 | ||
377 | if (NULL == recovery_meta_data) | ||
378 | { | ||
379 | GNUNET_break (0); | ||
380 | return NULL; | ||
381 | } | ||
377 | tms = (unsigned long long) (payment_timeout.rel_value_us | 382 | tms = (unsigned long long) (payment_timeout.rel_value_us |
378 | / GNUNET_TIME_UNIT_MILLISECONDS.rel_value_us); | 383 | / GNUNET_TIME_UNIT_MILLISECONDS.rel_value_us); |
379 | GNUNET_CRYPTO_hash (recovery_data, | 384 | GNUNET_CRYPTO_hash (recovery_data, |