this is actually OK

This commit is contained in:
Christian Grothoff 2015-03-22 14:58:40 +01:00
parent b1133719bb
commit c2a42d5475
2 changed files with 0 additions and 4 deletions

View File

@ -919,9 +919,6 @@ check_commitment (struct MHD_Connection *connection,
GNUNET_CRYPTO_ecdsa_key_get_public (&link_data->coin_priv, GNUNET_CRYPTO_ecdsa_key_get_public (&link_data->coin_priv,
&coin_pub); &coin_pub);
/* FIXME: we had envisioned a more complex scheme to derive
the message to sign for a blinded coin...
FIXME: we should have a function in util/ to do this! */
GNUNET_CRYPTO_hash (&coin_pub, GNUNET_CRYPTO_hash (&coin_pub,
sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey), sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey),
&h_msg); &h_msg);

View File

@ -308,7 +308,6 @@ TALER_test_coin_valid (const struct TALER_CoinPublicInfo *coin_public_info)
{ {
struct GNUNET_HashCode c_hash; struct GNUNET_HashCode c_hash;
/* FIXME: we had envisioned a more complex scheme... */
GNUNET_CRYPTO_hash (&coin_public_info->coin_pub, GNUNET_CRYPTO_hash (&coin_public_info->coin_pub,
sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey), sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey),
&c_hash); &c_hash);