From 162af316d39f1bf526e3dc63e67dd6ae6f7be91b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 27 Jan 2015 22:05:31 +0100 Subject: cleaning up types used some more: also use a new struct for the transfer key secret --- src/mint/taler-mint-httpd_db.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mint') diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c index 8f7553896..baf5d12aa 100644 --- a/src/mint/taler-mint-httpd_db.c +++ b/src/mint/taler-mint-httpd_db.c @@ -918,7 +918,7 @@ TALER_MINT_db_execute_refresh_reveal (struct MHD_Connection *connection, { struct RefreshCommitLink commit_link; struct GNUNET_CRYPTO_EcdsaPublicKey coin_pub; - struct GNUNET_HashCode transfer_secret; + struct TALER_TransferSecret transfer_secret; struct TALER_LinkSecret shared_secret; res = TALER_MINT_DB_get_refresh_commit_link (db_conn, @@ -946,7 +946,7 @@ TALER_MINT_db_execute_refresh_reveal (struct MHD_Connection *connection, if (GNUNET_OK != GNUNET_CRYPTO_ecc_ecdh ((const struct GNUNET_CRYPTO_EcdhePrivateKey *) &transfer_privs[i+off][j], (const struct GNUNET_CRYPTO_EcdhePublicKey *) &coin_pub, - &transfer_secret)) + &transfer_secret.key)) { GNUNET_break (0); // FIXME: return 'internal error'? -- cgit v1.2.3