diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-03-23 10:04:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-03-23 10:04:56 +0100 |
commit | d57576d5dd404ca6c35795f4823eae2d55154293 (patch) | |
tree | 98c11a6f39f823389ca3d0b0099dbe1dd487342e | |
parent | 08a051a7c0d7c51f7d5e19d730109fa859315051 (diff) | |
parent | 2e0067d9ddb565681d0af3e41d91ceb6193a0d7b (diff) |
Merge branch 'master' of git+ssh://git.taler.net/var/git/exchange
-rw-r--r-- | src/exchangedb/perf_taler_exchangedb_init.c | 1 | ||||
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/exchangedb/perf_taler_exchangedb_init.c b/src/exchangedb/perf_taler_exchangedb_init.c index 2c2989bd5..8036d8597 100644 --- a/src/exchangedb/perf_taler_exchangedb_init.c +++ b/src/exchangedb/perf_taler_exchangedb_init.c @@ -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, diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index d03bad535..2ab91c72e 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -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, |