summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-03-18 18:57:36 +0100
committerChristian Grothoff <christian@grothoff.org>2015-03-18 18:57:36 +0100
commit10f75510c003c8d176b6ce990c6afd0f21e02235 (patch)
tree6c3e2d3e17cffb5f4967a76313f6963d33552abd
parent6ba63aab8472aefe85f4b96dd7bab895a46a0889 (diff)
downloadexchange-10f75510c003c8d176b6ce990c6afd0f21e02235.tar.gz
exchange-10f75510c003c8d176b6ce990c6afd0f21e02235.tar.bz2
exchange-10f75510c003c8d176b6ce990c6afd0f21e02235.zip
fix #3716: make sure amount-API offers proper checks against overflow and other issues
-rw-r--r--src/mint/test_mint_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mint/test_mint_db.c b/src/mint/test_mint_db.c
index 6a55a1d3..2bb25aa6 100644
--- a/src/mint/test_mint_db.c
+++ b/src/mint/test_mint_db.c
@@ -170,7 +170,7 @@ run (void *cls, char *const *args, const char *cfgfile,
result = 4;
FAILIF (GNUNET_OK != TALER_MINT_DB_reserves_in_insert (db,
&reserve,
- amount,
+ &amount,
expiry));
FAILIF (GNUNET_OK != check_reserve (db,
&reserve_pub,
@@ -180,7 +180,7 @@ run (void *cls, char *const *args, const char *cfgfile,
expiry.abs_value_us));
FAILIF (GNUNET_OK != TALER_MINT_DB_reserves_in_insert (db,
&reserve,
- amount,
+ &amount,
expiry));
FAILIF (GNUNET_OK != check_reserve (db,
&reserve_pub,