check return value from create_denom_key_pair in test

This commit is contained in:
Christian Grothoff 2017-10-06 22:19:13 +02:00
parent c92d88d944
commit 7935349d35
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -551,6 +551,7 @@ test_melting (struct TALER_EXCHANGEDB_Session *session)
&fee_deposit,
&fee_refresh,
&fee_refund);
GNUNET_assert (NULL != dkp);
/* initialize refresh session melt data */
{
struct GNUNET_HashCode hc;
@ -633,6 +634,7 @@ test_melting (struct TALER_EXCHANGEDB_Session *session)
&fee_deposit,
&fee_refresh,
&fee_refund);
GNUNET_assert (NULL != new_dkp[cnt]);
new_denom_pubs[cnt] = new_dkp[cnt]->pub;
}
FAILIF (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
@ -1117,6 +1119,7 @@ test_gc (struct TALER_EXCHANGEDB_Session *session)
&fee_deposit,
&fee_refresh,
&fee_refund);
GNUNET_assert (NULL != dkp);
if (GNUNET_OK !=
plugin->gc (plugin->cls))
{
@ -1585,6 +1588,7 @@ run (void *cls)
&fee_deposit,
&fee_refresh,
&fee_refund);
GNUNET_assert (NULL != dkp);
GNUNET_CRYPTO_rsa_public_key_hash (dkp->pub.rsa_public_key,
&dkp_pub_hash);
RND_BLK(&cbc.h_coin_envelope);