diff options
Diffstat (limited to 'src/exchangedb')
-rw-r--r-- | src/exchangedb/exchangedb_denomkeys.c | 9 | ||||
-rw-r--r-- | src/exchangedb/test_exchangedb_fees.c | 9 |
2 files changed, 8 insertions, 10 deletions
diff --git a/src/exchangedb/exchangedb_denomkeys.c b/src/exchangedb/exchangedb_denomkeys.c index fe74d1560..ec77d7f0b 100644 --- a/src/exchangedb/exchangedb_denomkeys.c +++ b/src/exchangedb/exchangedb_denomkeys.c @@ -75,10 +75,9 @@ TALER_EXCHANGEDB_denomination_key_revoke ( .h_denom_pub = *denom_hash }; - GNUNET_assert (GNUNET_OK == - GNUNET_CRYPTO_eddsa_sign (&mpriv->eddsa_priv, - &rm.purpose, - &rd.msig.eddsa_signature)); + GNUNET_CRYPTO_eddsa_sign (&mpriv->eddsa_priv, + &rm, + &rd.msig.eddsa_signature); } GNUNET_asprintf (&fn, "%s" DIR_SEPARATOR_STR @@ -476,7 +475,7 @@ revocations_iterate_cb (void *cls, if (GNUNET_OK != GNUNET_CRYPTO_eddsa_verify ( TALER_SIGNATURE_MASTER_DENOMINATION_KEY_REVOKED, - &rm.purpose, + &rm, &rf.msig.eddsa_signature, &ric->master_pub->eddsa_pub)) { diff --git a/src/exchangedb/test_exchangedb_fees.c b/src/exchangedb/test_exchangedb_fees.c index 7cd890eb3..55f34bd6f 100644 --- a/src/exchangedb/test_exchangedb_fees.c +++ b/src/exchangedb/test_exchangedb_fees.c @@ -39,10 +39,9 @@ sign_af (struct TALER_EXCHANGEDB_AggregateFees *af, TALER_EXCHANGEDB_fees_2_wf ("test", af, &wf); - GNUNET_assert (GNUNET_OK == - GNUNET_CRYPTO_eddsa_sign (priv, - &wf.purpose, - &af->master_sig.eddsa_signature)); + GNUNET_CRYPTO_eddsa_sign (priv, + &wf, + &af->master_sig.eddsa_signature); } @@ -136,7 +135,7 @@ main (int argc, &wf); if (GNUNET_OK != GNUNET_CRYPTO_eddsa_verify (TALER_SIGNATURE_MASTER_WIRE_FEES, - &wf.purpose, + &wf, &p->master_sig.eddsa_signature, &master_pub.eddsa_pub)) { |