diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-18 18:57:36 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-18 18:57:36 +0100 |
commit | 10f75510c003c8d176b6ce990c6afd0f21e02235 (patch) | |
tree | 6c3e2d3e17cffb5f4967a76313f6963d33552abd /src | |
parent | 6ba63aab8472aefe85f4b96dd7bab895a46a0889 (diff) |
fix #3716: make sure amount-API offers proper checks against overflow and other issues
Diffstat (limited to 'src')
-rw-r--r-- | src/mint/test_mint_db.c | 4 |
1 files 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, |