From 10f75510c003c8d176b6ce990c6afd0f21e02235 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 18 Mar 2015 18:57:36 +0100 Subject: fix #3716: make sure amount-API offers proper checks against overflow and other issues --- src/mint/test_mint_db.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mint/test_mint_db.c b/src/mint/test_mint_db.c index 6a55a1d35..2bb25aa6a 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, -- cgit v1.2.3