diff options
Diffstat (limited to 'src/mint')
-rw-r--r-- | src/mint/mint.h | 5 | ||||
-rw-r--r-- | src/mint/taler-mint-httpd_db.c | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/mint/mint.h b/src/mint/mint.h index bf8dfcfd3..046b9c17e 100644 --- a/src/mint/mint.h +++ b/src/mint/mint.h @@ -179,10 +179,9 @@ struct RefreshCommitLink struct GNUNET_CRYPTO_EcdsaPublicKey transfer_pub; /** - * FIXME: this is the encrypted shared secret, should use - * a different type... + * Encrypted shared secret to decrypt the link. */ - struct GNUNET_HashCode shared_secret_enc; + struct TALER_EncryptedLinkSecret shared_secret_enc; }; diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c index 9ddce104d..8f7553896 100644 --- a/src/mint/taler-mint-httpd_db.c +++ b/src/mint/taler-mint-httpd_db.c @@ -908,7 +908,7 @@ TALER_MINT_db_execute_refresh_reveal (struct MHD_Connection *connection, off = 0; for (i = 0; i < refresh_session.kappa - 1; i++) { - struct GNUNET_HashCode last_shared_secret; + struct TALER_LinkSecret last_shared_secret; int secret_initialized = GNUNET_NO; if (i == refresh_session.noreveal_index) @@ -919,7 +919,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 GNUNET_HashCode shared_secret; + struct TALER_LinkSecret shared_secret; res = TALER_MINT_DB_get_refresh_commit_link (db_conn, refresh_session_pub, |