Note two errors in the tests suit

This commit is contained in:
Jeff Burdges 2016-03-21 15:19:04 +01:00
parent 553d6eb23e
commit 130957f69d
2 changed files with 2 additions and 0 deletions

View File

@ -350,6 +350,7 @@ PERF_TALER_EXCHANGEDB_coin_init (
&coin->public_info.coin_pub.eddsa_pub);
coin->public_info.denom_pub.rsa_public_key =
GNUNET_CRYPTO_rsa_public_key_dup (dki->denom_pub.rsa_public_key);
// This is broken at the moment because it needs to be a hash of a coin public key.
coin->public_info.denom_sig.rsa_signature =
GNUNET_CRYPTO_rsa_sign_fdh (dki->denom_priv.rsa_private_key,
&coin->public_info.coin_pub,

View File

@ -336,6 +336,7 @@ test_melting (struct TALER_EXCHANGEDB_Session *session)
for (cnt=0; cnt < MELT_OLD_COINS; cnt++)
{
RND_BLK (&melts[cnt].coin.coin_pub);
// This appears to be broken because it needs to be a hash of a coin public key
melts[cnt].coin.denom_sig.rsa_signature =
GNUNET_CRYPTO_rsa_sign_fdh (dkp->priv.rsa_private_key,
&melts[cnt].coin.coin_pub,