diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2021-08-31 21:51:58 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2021-08-31 21:51:58 +0200 |
commit | 6c6787b49a8d61fc8b8615333cbbdd9dc9cc9f96 (patch) | |
tree | 8685dfa9638d30c5f1d2e8ecc8a79a117ea21662 | |
parent | 0013ce41e71a3c8008051b5e57a81f512192e80f (diff) | |
download | exchange-6c6787b49a8d61fc8b8615333cbbdd9dc9cc9f96.tar.gz exchange-6c6787b49a8d61fc8b8615333cbbdd9dc9cc9f96.zip |
add assertions to help pin down #7007:
-rw-r--r-- | src/exchange/taler-exchange-httpd_keys.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c index 77b2e9cfc..0d062fe1d 100644 --- a/src/exchange/taler-exchange-httpd_keys.c +++ b/src/exchange/taler-exchange-httpd_keys.c | |||
@@ -1404,6 +1404,11 @@ create_krd (struct TEH_KeyStateHandle *ksh, | |||
1404 | struct TALER_ExchangeSignatureP exchange_sig; | 1404 | struct TALER_ExchangeSignatureP exchange_sig; |
1405 | json_t *keys; | 1405 | json_t *keys; |
1406 | 1406 | ||
1407 | GNUNET_assert (NULL != signkeys); | ||
1408 | GNUNET_assert (NULL != recoup); | ||
1409 | GNUNET_assert (NULL != denoms); | ||
1410 | GNUNET_assert (NULL != ksh->auditors); | ||
1411 | GNUNET_assert (NULL != TEH_currency); | ||
1407 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 1412 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1408 | "Creating /keys at cherry pick date %s\n", | 1413 | "Creating /keys at cherry pick date %s\n", |
1409 | GNUNET_STRINGS_absolute_time_to_string (last_cpd)); | 1414 | GNUNET_STRINGS_absolute_time_to_string (last_cpd)); |
@@ -1525,7 +1530,7 @@ create_krd (struct TEH_KeyStateHandle *ksh, | |||
1525 | * @param[in,out] ksh state handle to update | 1530 | * @param[in,out] ksh state handle to update |
1526 | * @return #GNUNET_OK on success | 1531 | * @return #GNUNET_OK on success |
1527 | */ | 1532 | */ |
1528 | static int | 1533 | static enum GNUNET_GenericResponseCode |
1529 | finish_keys_response (struct TEH_KeyStateHandle *ksh) | 1534 | finish_keys_response (struct TEH_KeyStateHandle *ksh) |
1530 | { | 1535 | { |
1531 | json_t *recoup; | 1536 | json_t *recoup; |