diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-05 22:22:47 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-05 22:22:47 +0100 |
commit | ba627bf84c89ea93a117bce8563b30a3d460e633 (patch) | |
tree | 0a717d9d51f46dab6d1032a3181b441abcae746a /src/exchange/taler-exchange-httpd_recoup.c | |
parent | ebbc250f8b86de14a5684addade285cb5d1ad9ac (diff) | |
download | exchange-ba627bf84c89ea93a117bce8563b30a3d460e633.tar.gz exchange-ba627bf84c89ea93a117bce8563b30a3d460e633.tar.bz2 exchange-ba627bf84c89ea93a117bce8563b30a3d460e633.zip |
-fixes
Diffstat (limited to 'src/exchange/taler-exchange-httpd_recoup.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_recoup.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd_recoup.c b/src/exchange/taler-exchange-httpd_recoup.c index 98ab314ab..f10bd34b9 100644 --- a/src/exchange/taler-exchange-httpd_recoup.c +++ b/src/exchange/taler-exchange-httpd_recoup.c @@ -56,7 +56,7 @@ struct RecoupContext /** * Key used to blind the coin. */ - const struct TALER_DenominationBlindingKeyP *coin_bks; + const union TALER_DenominationBlindingKeyP *coin_bks; /** * Signature of the coin requesting recoup. @@ -345,7 +345,7 @@ static MHD_RESULT verify_and_execute_recoup ( struct MHD_Connection *connection, const struct TALER_CoinPublicInfo *coin, - const struct TALER_DenominationBlindingKeyP *coin_bks, + const union TALER_DenominationBlindingKeyP *coin_bks, const struct TALER_CoinSpendSignatureP *coin_sig, int refreshed) { @@ -446,9 +446,10 @@ verify_and_execute_recoup ( &c_hash); GNUNET_assert (dk->denom_pub.cipher == TALER_DENOMINATION_RSA); + // FIXME-RSA migration... if (GNUNET_YES != TALER_rsa_blind (&c_hash, - &coin_bks->bks, + &coin_bks->rsa_bks, dk->denom_pub.details.rsa_public_key, &coin_ev, &coin_ev_size)) @@ -517,7 +518,7 @@ TEH_handler_recoup (struct MHD_Connection *connection, { enum GNUNET_GenericReturnValue ret; struct TALER_CoinPublicInfo coin; - struct TALER_DenominationBlindingKeyP coin_bks; + union TALER_DenominationBlindingKeyP coin_bks; struct TALER_CoinSpendSignatureP coin_sig; int refreshed = GNUNET_NO; struct GNUNET_JSON_Specification spec[] = { |