diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-16 22:21:18 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-16 22:21:18 +0100 |
commit | 19922fa0464752b989268778e8d6a13eb0fe4964 (patch) | |
tree | 5e40820d4b312b6c5dbbfbaae5d0e2103bf4ae3c /src/exchangedb | |
parent | a9ae2171b897dfc9635e9ab72a04d65379bf2208 (diff) |
pointless to check denom_sig, do not return
Diffstat (limited to 'src/exchangedb')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 5 | ||||
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 28d8e5741..65e52e675 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -854,7 +854,6 @@ postgres_get_session (void *cls) "SELECT" " h_blind_ev" ",denom.denom_pub" - ",denom_sig" ",reserve_sig" ",reserve_pub" ",execution_date" @@ -6386,7 +6385,6 @@ reserves_out_serial_helper_cb (void *cls, { struct GNUNET_HashCode h_blind_ev; struct TALER_DenominationPublicKey denom_pub; - struct TALER_DenominationSignature denom_sig; struct TALER_ReservePublicKeyP reserve_pub; struct TALER_ReserveSignatureP reserve_sig; struct GNUNET_TIME_Absolute execution_date; @@ -6397,8 +6395,6 @@ reserves_out_serial_helper_cb (void *cls, &h_blind_ev), GNUNET_PQ_result_spec_rsa_public_key ("denom_pub", &denom_pub.rsa_public_key), - GNUNET_PQ_result_spec_rsa_signature ("denom_sig", - &denom_sig.rsa_signature), GNUNET_PQ_result_spec_auto_from_type ("reserve_pub", &reserve_pub), GNUNET_PQ_result_spec_auto_from_type ("reserve_sig", @@ -6426,7 +6422,6 @@ reserves_out_serial_helper_cb (void *cls, rowid, &h_blind_ev, &denom_pub, - &denom_sig, &reserve_pub, &reserve_sig, execution_date, diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index 583e3c178..73d89e0b2 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -969,7 +969,6 @@ audit_reserve_in_cb (void *cls, * @param rowid unique serial ID for the refresh session in our DB * @param h_blind_ev blinded hash of the coin's public key * @param denom_pub public denomination key of the deposited coin - * @param denom_sig signature over the deposited coin * @param reserve_pub public key of the reserve * @param reserve_sig signature over the withdraw operation * @param execution_date when did the wallet withdraw the coin @@ -981,7 +980,6 @@ audit_reserve_out_cb (void *cls, uint64_t rowid, const struct GNUNET_HashCode *h_blind_ev, const struct TALER_DenominationPublicKey *denom_pub, - const struct TALER_DenominationSignature *denom_sig, const struct TALER_ReservePublicKeyP *reserve_pub, const struct TALER_ReserveSignatureP *reserve_sig, struct GNUNET_TIME_Absolute execution_date, |