summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_keys.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-25 11:45:13 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-25 11:45:13 +0200
commit18a68ab78965be39d6a457675f17d33b3b81c1cb (patch)
tree61ea252efe451ae701938f6ef5d09770786748b4 /src/exchange/taler-exchange-httpd_keys.c
parente50a5f4d2b85a47b1318bda2f4890812b0a8afad (diff)
downloadexchange-18a68ab78965be39d6a457675f17d33b3b81c1cb.tar.gz
exchange-18a68ab78965be39d6a457675f17d33b3b81c1cb.tar.bz2
exchange-18a68ab78965be39d6a457675f17d33b3b81c1cb.zip
ensure statements are prepared before keys subsystem initialization
Diffstat (limited to 'src/exchange/taler-exchange-httpd_keys.c')
-rw-r--r--src/exchange/taler-exchange-httpd_keys.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c
index 5d25600c..77b2e9cf 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -1711,7 +1711,8 @@ build_key_state (struct HelperState *hs,
ksh);
if (qs < 0)
{
- GNUNET_break (0);
+ GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR != qs);
+ GNUNET_break (GNUNET_DB_STATUS_HARD_ERROR != qs);
destroy_key_state (ksh,
true);
return NULL;